Forum OpenACS Development: Response to Use of master templates

Collapse
Posted by Robert Locke on
<blockquote> Doesn't the templating system already look for a file named master.tcl/adp?
</blockquote>

Just did a simple test, and this does NOT seem to be the case.  But it is an interesting idea!

The only caveat I can think of is: what if you want file A to explicitly use the site-wide master, and file B to use the package-wide master (assuming it exists).  In your suggested scenario, file B could just contain "<master>", but how would file A specify to use the site-wide master?  Setting the full "src" path to the site-wide master seems clunky and a PITA to maintain.

In any case, I think having a standard (or atleast guideline) for templates is something that's worth deciding on and tackling now (kudos to Jon for bringing this up).  There are several options on the table.  How can we decide on this (if it's really worth pursuing)?