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.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 14th May 2012, 16:28
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 Extending/Restructuring of the "Theme-Engine"

Hi Devs,

I am developing a theme for ISPConfig 3.0.4.x (http://www.howtoforge.com/forums/showthread.php?t=57106) with a higher impact on the layout than "just" the files in "themes/theme-name/".

I would propose a "little" change of the "theming-engine" which would make the ISPC-frontend more flexible and the file-structure more logical.

move template files
from
ISPC_WEB_PATH./$module/templates/*
to
ISPC_WEB_PATH./themes/theme_name/templates/$module/*
ISPC_WEB_PATH./themes/tmpl_var name="theme"/templates/$module/*
to not break all module files the class newTemplate must be changed to reflect the base-dir of
ISPC_WEB_PATH./themes/tmpl_var name="theme"/

What do you as experienced php-developers think about the complexity of this modification?

Would be great to not "hack" the template files of all modules for the new theme and by this breaking the default-theme.
Reply With Quote
Sponsored Links
 

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


All times are GMT +2. The time now is 07:41.


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