[development] Blocks and Regions rethink (concept needs feedback)

Barry Jaspan barry at jaspan.org
Sun Jul 8 12:36:48 UTC 2007


My (fairly simple, I think) desired improvement for Regions is to
allow modules to declare them, e.g. hook_regions(), instead of just
allowing the theme to declare them.  For example, I'd like to have a
"Node Regions" module that lets me declare a region "floated left at
the beginning of the third paragraph of a node's body field"; any
block could then be added to the region.  I've actually already
written the module but it requires manually editing the theme's
template.php file.  It should not have to.

I should have submitted a hook_regions() patch for D6 but did not, so
now I'm just trying to get my pet feature added to your rethink. :-)

Thanks,

Barry



More information about the development mailing list