[Home] 
Context Variables / Template File


FrontPage
ContextVariables/

RecentChanges
TestPage
Forum

Search
Members
Projects
Folders
Index

Preferences

Edit
  The TemplateFile is a HTML file that defines the layout of the wiki pages. It contains insertion markers for all the variable and dynamic elements that a wiki can provide.

Variable TemplateFile:
template.txt

The template file is often placed with the wiki script and and then needs no path information. This is the template file used to create this page:

Notes and hints:
  • Absolute paths (starting with "/") are interpreted relative to the domain.
  • Relative paths (not starting with "/") are interpreted relative to the script directory (current directory).
  • If for some reason the template file is not found, a default template file is used.
  • TemplateFile may also point to a file in an upload directory. In this case the layout becomes user editable even without the need to have FTP access.

Where is TemplateFile used:

ThisWiki:action=vida&var=TemplateFile&context=1