Variables loaded from config files Variables that are loaded from the config files are referenced by enclosing them within #hash marks#, or with the smarty variable $smarty.config. The later syntax is useful for embedding into quoted attribute values. config variables Example config file - foo.conf: A template demonstrating the #hash# method: {#pageTitle#}
First Last Address
]]>
A template demonstrating the $smarty.config method: {$smarty.config.pageTitle}
First Last Address
]]>
Both examples would output: This is mine
First Last Address
]]>
Config file variables cannot be used until after they are loaded in from a config file. This procedure is explained later in this document under {config_load}. See also variables and $smarty reserved variables