Use drupal_set_content() to avoid block theming?

nedjo - November 10, 2006 - 23:31
Project:microcontent
Version:HEAD
Component:Blocks Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

The microcontent approach is promising. It might be useful to look at (optionally) assigning microcontent to a region directly via drupal_set_content(). This would allow positioning of the microcontent directly on the microcontent page, rather than having a two-stage process of generating the content then placing it as a block. It would also avoid the sometimes annoying block divs and the title. On the downside I guess it would require a table to store the microcontent's region in.

#1

Bèr Kessels - November 15, 2006 - 11:44

Very interesting idea indeed.
I don't have time to do this now, so if someone feels like it, please cook up a patch :).

 
 

Drupal is a registered trademark of Dries Buytaert.