Include the contents of the specified file.
numero = 247normally all file paths are relative to the local template, or if they begin with "/" they are relative to the web server's virtual host root.
Optional Parameters | Description |
---|---|
[INCLUDE file=FilePath&raw=T] | raw=T means the file should be included unchanged, without performing any [xxx] substitutions. |
[INCLUDE file=FilePath&fromCache=F] | fromCache=F means a more-recent version of the file should be read from disk, instead of using the cached version in RAM. |
[INCLUDE file=FilePath&var1=xx&var2=yy] | Passes any variable names (and their values) you choose into the included template, which can then use [var1] anywhere inside it. |
Do not use &raw=T and &fromCache=F togetherExample: [include file=page.inc&raw=T&fromCache=F]
normally all file paths are relative to the local template, or if they begin with "/" they are relative to the web server's virtual host root.
Optional Parameters | Description |
---|---|
[INCLUDE file=FilePath&raw=T] | raw=T means the file should be included unchanged, without performing any [xxx] substitutions. |
[INCLUDE file=FilePath&fromCache=F] | fromCache=F means a more-recent version of the file should be read from disk, instead of using the cached version in RAM. |
[INCLUDE file=FilePath&var1=xx&var2=yy] | Passes any variable names (and their values) you choose into the included template, which can then use [var1] anywhere inside it. |
Do not use &raw=T and &fromCache=F together
Example: [include file=page.inc&raw=T&fromCache=F]
DOWNLOAD WEBDNA NOW!
WebDNA applications...
WebDNA reference...
F.A.QA compilation of some user's questions...
WebDNA ModulesA list of the currently available modules...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Tips and TricksA list of user-submitted tips ...
Copy a file with the content you want on your webspace...
[raw]Displays enclosed text without interpreting the [xxx] tags in any way...
[showif][showif Comparison]Show This HTML[/showif]...
[waitforfile]The server waits until the file appears on disk...
[findstring][FindString Source=...
[hideif][HideIf Comparison]Hide This HTML[/HideIf]...