|
|
||||
![]() | ||||
It is not necessary to understand the advanced commands in order to create basic documents using the DI.
| .CGIVARS [ConvertXY] | Convert any CGI variables to DI variables |
| .COMMENT | Starts a comment block |
| .ENDCOMMENT | Ends a comment block |
| .COUNTER [Quiet] [Reset] [Since] [Long] | Display a count of the hits to the page |
| .DBARRAY [Local] name=filename | Read a database into an array |
| .DBDUMP DBVar= Fmt= [StartRow=] [EndRow=] | Echo rows of a database variable |
| .DBHASH [Invert] [Local] name=filename | Read a database into an associative array |
| .DEBUG Level= | Echo the expanded versions of commands |
| .ECHO [value] | Echo a value |
| .EMAIL [NoMailto] [WebMail] Email= RealName= [URL=] | Create an email link |
| .EXIT | Stop all further processing |
| .FIXTABLE [Test] [BR] [DefaultRow=] [DefaultCol=] | Fix a table's cells for display with text-only browsers |
| .FOR Name= [Declaration=] | Repeat a series of commands |
| .FOREACH [Value=] | Repeat a series of commands |
| .ENDFOR | Used with .FOR or .FOREACH |
| .FUNCTION Name= [Declaration=] | Group a series of commands together |
| .RETURN [Value=] | Exit function |
| .ENDFUNC | Used with .FUNCTION |
| .IF condition | Conditionally include/exclude some HTML code or DI commands |
| .IFDEF name | Execute if variable is defined |
| .IFNDEF name | Execute if variable is not defined |
| .ELSIF condition | Used with .IF |
| .ELSIFDEF name | Execute if variable is defined. Used with .IF |
| .ELSIFNDEF name | Execute if variable is not defined. Used with .IF |
| .ELSE | Used with .IF |
| .ENDIF | Used with .IF |
| .INCLUDE File= | Insert the contents of another file |
| .KEYS2VARS [Local] Hash= [Row=] | Create a variable for each key in a hash |
| .LIBRARY File= | Load a library of DI code |
| .MENU File= | Insert an expandable/collapsible menu |
| .RANDOM Max= name= | Set variable named name to a random integer from 1 to Max (inclusive) |
| .RANDOMIMG File= [Width=] [Height=] [Alt=] | Generate an image tag, taken randomly from a list |
| .RANDOMURL File= | Generate a random link, taken from a text file |
| .SEARCHFORM [Folder=] [Title=] [Size=] | Generate a form, so users can search for pages |
| .SET [Local] [name[=value]] | Set or display a variable |
Home | Directories | Web Email | Calendar | Campus Map | Search | Help
About the College |
Admission |
Academics |
Student Life |
Athletics Copyright © 2002 Mount Holyoke College. This page created by the OIS Operations Group and maintained by Webmaster. Last modified on June 11, 2002. |