Parser Properties

The available parser options are described below.

Parser properties
Option Name Values
IncludeMode
  • normal: normal behaviour; included files are taken relative to the directory/url of the .php file generating the page.
  • skindir: included files are taken relative to the skindir/skinurl

This property affects the following skinvars: include, phpinclude, parsedinclude, nucleusbutton

IncludePrefix

This property is a prefix that get's added in front of each filename you want to include. For example, if the prefix is base/ and you want to include somefile.txt, you'll end up including base/somefile.txt

This property is intended to be used in conjunction with the IncludeMode property. This way, a skin imported to skindir/somename/ can set IncludeMode to skindir and IncludePrefix to somename/

This property affects the following skinvars: include, phpinclude, parsedinclude, nucleusbutton

The IncludePrefix and IncludeMode properties can be set globally for a skin in the general settings of a skin. Also note that from the moment a property is set, it applies to all parsed data, thus also for templates.

Admin Settings