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 27th February 2012, 01:49
jazzle jazzle is offline
Junior Member
 
Join Date: Feb 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default How are theme elements included?

Hey there,

I want to create a theme for ISPconfig according to Twitter's Bootstrap. This should not be too much work, but I can't get around how the ISPconfig themes are composed. I understand how the main.tpl.htm is the main page and how the other .tpl.htm files are the specific elements like navigation, but I would expect some kind of includes in that main.tpl.htm page that calls for the other interface elements but there aren't any.

Where is it defined where the, for example, topnav.tpl.htm should go?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 27th February 2012, 10:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

All theme elements are loaded with ajax, so what matter are the id names of the div elements. E.g.:

Code:
<div id="topNav">&nbsp;</div>

<div id="sideNav">&nbsp;</div>

div id="pageContent"><!-- AJAX CONTENT --></div>
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
jazzle (27th February 2012)
  #3  
Old 27th February 2012, 10:06
jazzle jazzle is offline
Junior Member
 
Join Date: Feb 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
All theme elements are loaded with ajax, so what matter are the id names of the div elements. E.g.:

Code:
<div id="topNav">&nbsp;</div>

<div id="sideNav">&nbsp;</div>

div id="pageContent"><!-- AJAX CONTENT --></div>
Thanks!, yes I understand that jquery selects the divs by ID, but I'd like to edit the names of the IDs it calls, I just cannot find where they are defined. Or is this defined somewhere in a dir that might get overwritten in an update?
Reply With Quote
  #4  
Old 27th February 2012, 10:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

They are defined in the sourcecode, so you can not change them without loosing the ability to install updates on your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th February 2012, 10:13
jazzle jazzle is offline
Junior Member
 
Join Date: Feb 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
They are defined in the sourcecode, so you can not change them without loosing the ability to install updates on your server.
Okay thanks, I will need to work around that limitation then
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
Ubuntu 10.04 VS ISPConfig 2.2.37 Bicet Installation/Configuration 7 9th March 2011 15:58
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
drbd error -115 anandx Installation/Configuration 15 26th April 2009 19:16
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29
ISPConfig pop3 problem mphayesuk General 21 31st October 2005 10:53


All times are GMT +2. The time now is 22:26.


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