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]
|
Recent comments
4 hours 39 min ago
14 hours 7 min ago
14 hours 57 min ago
18 hours 30 min ago
22 hours 54 min ago
23 hours 16 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 16 hours ago
1 day 17 hours ago