From: Justin F. <je...@ey...> - 2001-07-26 21:06:55
|
Alex: I would like a facility in BC that allowed multiple layouts per group. The reason for this is the felt need to have some "standard" layouts that are quite common. Just to give an example, there may be a site that in the "main pane" (not the master template scope) there is a need for a standard piece of HTML decoration, text or whatever, such as maybe a copyright notice, a set of links, a mailto: to the webmaster or whatever. Logically, something like the below would be necessary, namely you need anoth'layout' => array( 'one' => array( 'name' => "example", 'package' => "html.layouts", ), 'two' => array( 'name' => "copyright", 'package' => "html.layouts", ), 'three' => array( 'name' => "webmaster", 'package' => "html.layouts", ), ), er array level, viz: 'layout' => array( 'one' => array( 'name' => "example", 'package' => "html.layouts", ), 'two' => array( 'name' => "copyright", 'package' => "html.layouts", ), 'three' => array( 'name' => "webmaster", 'package' => "html.layouts", ), ), and the example layout may have the buffer output, but the "copyright" and "webmaster" layouts are just very common bits of HTML and have no Output() stuff at all.... Right now, if you have standard header_like_things and footer_like_things in various groups, you must make a single layout for that group with all the bits and pieces necessary, even though these bits and pieces make up a set. Anyway, I won't try and justify this. I feel this need, and I suppose that I would like for the rest of the group to comment on it. _jef -- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722 |