From: Eloi G. <el...@re...> - 2004-08-08 20:45:08
|
I don't know why, but Sourceforge almost always delays my submissions to this list... I understand your goal a lot more now, but I think it can be achieved with existing modules. Article Manager (and PageMaster if it fully supports page templates now) is designed for just that purpose. A specific newsletter layout is defined as the overall page template design plus any particular combination of section templates. If you add in section templates that utilize "div"s with "float:left/right" to define columns, then you can end up with any layout you choose! Once a particular layout is designed, then all the designers have to know is that Layout#1 consists of Page Template "Layout_1" with sections in the order of "Right_Column_Top", any number of "Right_Column_Middle", "Right_Column_Bottom", "Headline", and any number of "Body". Or if you want to make it even easier, you could submit an RFE (or a patch ;)) to allow either module to clone an new article/page off of an existing blank one. On the other hand, if you wanted to make the newsletter module create the articles itself, the technique is illustrated in the importation scripts. Personally, I think our collective coding time would be better spent on quite a few other core class ideas than a universal section class. There are only a very few possible uses for the page/section paradigm, and I'm constantly looking for an easy-to-use, non-javascript-intensive way to get away from it and still retain the layout flexibility. -Eloi- |