Forum OpenACS Development: Response to Use of master templates

Collapse
Posted by Jon Griffin on
There should be NO package locals. Put if statements in the master template and be done with it. It is a simple fix.

Then you can add or not add context_bar etc. on a site basis. I repeat, I don't want a developer telling me what templates I need. To change all the locals is an excercise that should be left for the package maintainers. If they don't want to do the work the package should be turned over to someone else.

The master template should have a minimal amount of anything in it. By using if exists @context_bar@ you can get rid of all the package masters.