From: Justin F. <je...@ey...> - 2001-07-07 15:21:38
|
Alex: I am not trying to get the boys to gang up on you, well, to be honest, maybe I am. The more I think about abstracting out a new category of templates for <head>, the more I am for it, and, honestly, it seems to me that it would not be too hard to do, would it? 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", ), ), 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 1. From <html> to </head> 2. From <body> to </html> _jef -- Justin Farnsworth Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722 |