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

Re: Proposal: move template editing to setup.pl

On Tue, Dec 25, 2012 at 2:47 PM, Erik Huelsmann <..hidden..> wrote:

Thinking about the structure of our menu (from login.pl), I've found that all the menu settings other than the template editing are database / company local.

However, template editing is an action with global impact. In the current structure this is not apparent. Since 'setup.pl' is typically growing to be for more advanced users who should understand the difference between database specific and global changes, I'd like to move template editing to setup.pl.

An argument that could be used against my proposal is that setup.pl is growing to be a database management tool. In that case one might say that this functionality does not belong in either tool. Maybe that's the best reasoning of all: it's just too high impact and specialized to allow any user other than a knowing admin or consultant to execute changes to templates. These users should know how to get to these files without the help of these webtools.

What do you say?

A second approach (something we have planned to do but not done yet, would be to move the templates into the database.  This would allow the templates to be per company which would be quite a bit better than what we have.  We hoped to do that in 1.3.  It might get done in 1.5 with a little effort.

Best Wishes,
Chris Travers