i try to give my ispconfig installation a new look but don't want to change anything else outside the template folder, i did a change in nav.php to get an additional template var for the menue but i am not very happy about that.
every menu item has its own color and i want each module to have its own backgroundcolor too, is there a template var which provides information about the current active module so i can add some div's and css like #contentmail,#contenttools, #contentuser?
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
Thats correct, they are only available within the nav_top loop and you have to use them within in the nav_top loop of the topnav file and not in the main.tpl.htm file.
is there a way to make em available in the main.tpl file?
i would like an own color for each module, not only for the menu but also for the whole content, asigning colors to the nav bar worked but somehow i have to check which module is active.
Recent comments
1 day 8 hours ago
1 day 17 hours ago
1 day 20 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 34 min ago
2 days 2 hours ago
2 days 3 hours ago
2 days 19 hours ago
2 days 20 hours ago