tmpl_var not filled with content

Discussion in 'Developers' Forum' started by cfoe, Aug 25, 2012.

  1. cfoe

    cfoe ISPConfig Developer ISPConfig Developer

    hi guys,

    in the "new" default theme I tried to fetch the language declaration for the html-tag from the main config (

    <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
    Other vars like <tmpl_var name="html_content_encoding"> work :confused:
    Any idea?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The default variables are filled in by the tpl defaults function in Not all values from are filled in and not all shall be availabe, so take a look at the 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.

Share This Page