File ResourceConfiguration ParametersDefault values in brackets template_dir (string "templates/") Defines the directory where your templates reside.
suffix (string ".tpl") Defines the suffix for your template files. Useful if you want to control which editor is used for your templates via file extensions.
language (string "en") Useful if you have a multilingual system. Usually you have the same template per language and just insert different translations for strings. But if you have a special case where a template should differ in a specific language, this resource handler automatically looks for "template_descriptor.language.suffix" and takes this template if it exists.
Config Example$serpent->addPluginConfig('resource', 'file', array(
'template_dir' => 'templates/',
'suffix' => '.tpl',
'language' => 'de'
));
|