[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFH] Dealing with HTML templates in Web Software

On Thu, Apr 28, 2005 at 02:48:59PM +0200, Alexis Sukrieh wrote:
> So on the first hand, it would be decent to put templates files under 
> /etc/bugzilla, in order not to break user's customizations ; and on the 
> other hand, major upgrades could lead to dangerous user-unfriendly merges.
> What would you advice me to do?
> What is the best location for Web applications template files?
> Is that issue already discussed somewhere so I can read previous 
> thoughts about that?

You could try to do it like how request tracker does and have two
directory trees.  The first one is the one as the package maintainer
fiddles with. The second is where the admin puts their modified files.

The magic comes with how you handle the two trees.  Of course a
well-designed system will make sure the templates are just templates (eg
formatting with no code at all) so there is not that many changes.

 - Craig
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org

Reply to: