Download & Extend

Use drupal_set_content() to avoid block theming?

Project:microcontent
Version:master
Component:Blocks Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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.

Comments

#1

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