tmpl_var not filled with config.inc.php content
in the "new" default theme I tried to fetch the language declaration for the html-tag from the main config (config.inc.php)
<html dir="ltr" lang="<tmpl_var name="language">-<tmpl_var name="country">">
language + country vars are not giving back the value of the var in the config.inc.php
Other vars like <tmpl_var name="html_content_encoding"> work :confused:
The default variables are filled in by the tpl defaults function in app.inc.php. Not all values from config.inc.php are filled in and not all shall be availabe, so take a look at the app.inc.php file to see which can be used in the theme. E.g. The language variable contains he language of the logged in user ant not the one from the global config.
|All times are GMT +2. The time now is 16:36.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.