Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd May 2007, 11:39
rbartz rbartz is offline
Member
 
Join Date: Apr 2006
Posts: 80
Thanks: 9
Thanked 6 Times in 5 Posts
 
Default Modified templates saved on upgrade

ispConfig is great, you guys!

I have a couple of user templates I modified with an extra link or so that a user cannot turn his spam filtering or antivirus on and off... For example in /home/admispconfig/ispconfig/web/mailuser/templates/main.tpl.htm we add a link so the user can open his webmail.

The problem is when we upgrade, the modified templates are overwritten, of course. Perhaps in version 3, the templates could be named with a .default extension and the programming could look for a template without the extension first... eg. .....templates/main.tpl.htm and then use the shipped template, .....templates/main.tpl.htm.default, if not found. Then if we modify a template, we take the .default off the name and it would not be overwritten.

Another way might be to have a user_templates directory that is checked for a template by name before the default is used.... There may be other ways as well.

Thanks for all your work!

Richard]
Reply With Quote
Sponsored Links
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
Upgrade causes the removal of /root/ispconfig due to compile failure lawrenceong Feature Requests 3 24th April 2007 14:25
Upgrade question for "Virtual Users And Domains With Postfix, Courier And MySQL" emresumengen HOWTO-Related Questions 3 1st December 2006 16:33
screwed up the upgrade provell Installation/Configuration 7 14th August 2006 14:33
fedor core upgrade rahulgandhi Kernel Questions 1 11th April 2006 16:14
fedor core upgrade rahulgandhi Installation/Configuration 1 10th April 2006 22:51


All times are GMT +2. The time now is 00:06.


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