Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th August 2012, 16:54
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default tmpl_var not filled with config.inc.php content

hi guys,

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
Any idea?
__________________
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services
Reply With Quote
Sponsored Links
  #2  
Old 26th August 2012, 13:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,333 Times in 4,184 Posts
 
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What Linux Content Should Virtual Host Have ServerBite Server Operation 0 14th February 2012 10:36
Mail content listing K_meleonu Server Operation 0 31st January 2011 00:34
caching dinamic content macara Server Operation 4 11th January 2008 15:17
Please Help! Flash Content & ISPConfig MetraDynamix Installation/Configuration 1 17th July 2006 01:01


All times are GMT +2. The time now is 02:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.