Hey, guys --
Just to touch on the subject of the velvet curtain? I don't personally understand why Drumm's idea didn't catch fire:
http://groups.drupal.org/node/716
Specifically, the use of a microformat. If one were drafted for use in conjunction with themeable functions, it would be a simple thing to write a module that would expose every themable function in a given Drupal installation.
Granted, this could probably be accomplished by pouring over the code by hand and looking for such instances, and people might blow it off like they do thumbnails for themes.
But it would simplify things and make Drupal slightly more semantically aware, facilitate SEO, etc.
-Max
On 25 Jun 2006, at 1:39 AM, Max Bell wrote:
Granted, this could probably be accomplished by pouring over the code by hand and looking for such instances, and people might blow it off like they do thumbnails for themes.
actually. i have been meaning to bring this up.
the split templates code.
we have split all templates into individual files, and added a _widgets hook (ties into cck's use of 'widgets', and how forms api does it's elements). Basically, so far we've only got it to a point where it's 10% slower than current core, but it's a lot clearer to themers than the current system.
Basically, anything that can be overridden, is just a file you copy from the one directory, into another. (it also allows for a proper theme editor to be written.).
The _widgets hook is actually the mechanism you use to expose the theme functions, and we want to turn it into a point where you provide specific argument types (ie: node, node-title, etc), so that we can create a standard set of lipsum, to help generate a single page 'contains all markup' html page for styling. among other things.
What I need though , is other people to help test / profile / speed up the code. I have serious time issues for the month of july, and we really are almost there. I'd be available to walk people through the code and get everyone up to speed during this week. Anyone interested in helping getting the theme system more usable, please let me know.
-- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com
I have serious time issues for the month of july, and we really are almost there.
We are in the profiling for performance stage. Unfortunately I'm extremely busy as well, so I was unable to really work on this the last couple of weeks.
I'd be available to walk people through the code and get everyone up to speed during this week. Anyone interested in helping getting the theme system more usable, please let me know.
Please do. I'll try to help as much as I can as well.
I'd definitely be up for testing and bug notifications. *thumbs up*
MJ
Adrian Rossouw wrote:
On 25 Jun 2006, at 1:39 AM, Max Bell wrote:
Granted, this could probably be accomplished by pouring over the code by hand and looking for such instances, and people might blow it off like they do thumbnails for themes.
actually. i have been meaning to bring this up.
the split templates code.
we have split all templates into individual files, and added a _widgets hook (ties into cck's use of 'widgets', and how forms api does it's elements). Basically, so far we've only got it to a point where it's 10% slower than current core, but it's a lot clearer to themers than the current system.
Basically, anything that can be overridden, is just a file you copy from the one directory, into another. (it also allows for a proper theme editor to be written.).
The _widgets hook is actually the mechanism you use to expose the theme functions, and we want to turn it into a point where you provide specific argument types (ie: node, node-title, etc), so that we can create a standard set of lipsum, to help generate a single page 'contains all markup' html page for styling. among other things.
What I need though , is other people to help test / profile / speed up the code. I have serious time issues for the month of july, and we really are almost there. I'd be available to walk people through the code and get everyone up to speed during this week. Anyone interested in helping getting the theme system more usable, please let me know.
-- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes