From: alex b. <en...@tu...> - 2001-07-07 22:32:39
|
> Would it not be possible to add another first level key > in index.php $bc_page[] such as: > > 'headers' => array( > 'def' => array( > 'name' => "stdheader", > 'package' => "html.headers", > 'type' => "html", > ), > 'special' => array( > 'name' => "redirectheader", > 'package' => "html.headers", > 'type' => "html", > ), > > ), no, as this will be taken care of by the template->module association capabilities of Page in the future. > and put another directory under templates called /headers > where these <head> templates live. > > It seems like this would slip in nicely.... > > Now I have not thought out all the implications, you will see > some problems immediately, such as: > > 1. Master templates would then be decapitated at the top from > <html> > down to and including > </head> > > but, if you like the idea, you may think of something more elegant. > However, I could live with the last outer logical template being > split into two parts, namely Well, the ability to associate modules with templates gives developers 100% power over where markup comes from, and what is presented to the client. _a |