I've been using Radiant CMS for the past few days, there's a set up similar to what is being discussed here... Everything is a page in Radiant, including the stylesheet. Then there are layouts examples of which are "normal, stylesheet, and xml feed." When a page is made a layout can be chosen per page. So if I create an html template called "Portfolio" I could choose that template instead of "Normal" to create a specific page. It addresses theming pages in a method that feels very natural. I'm not really doing it justice, try out the demo:
Bèr Kessels wrote:
Op zaterdag 1 juli 2006 00:54, schreef Darrel O'Pry:
but it seems like you really wouldn't be editing those all that often.. and if you laid you xhtml right the first time, a little <style></style> in the node body goes a long way. Seems like overkill when the technology is already there.
I think Adrian and I are talking about "designs" that are simply not possible ATM. I have seen page.tpl.php files that have huge if()s around the whole <body> tags, I have seen mytheme_page() function overwrites that choose One of a list of special-page-*.tpl.php. I have seen people including home-page.tpl.php files and so on.
All that to achieve very different layouts for some parts of your site. If we had a default mechanism for that, as well as being able to edit/create such special layouts on the site, it would make things a lot simpler.
So: a lot of sites will not need to override theyr themes in the database, so purely web-editable-themes are a bit silly imo. But another lot of sites, will need some flexibility to redesign certain pages in a breeze. Being able to do that from the database (add special theme page » edit xhtml » save) could be the simplest way to achieve that.
Bèr _______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes