View Single Post
Old 14th May 2012, 17: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 ( 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
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