[development] In 4.7 you can assign regions to any template (node, comment, etc.)

Neil Drumm drumm at delocalizedham.com
Thu Jun 8 05:15:25 UTC 2006


Nick Lewis wrote:
> Nedjo Rogers wrote:
>> I at least had overlooked the fact that in 4.7 we have the ability to
>> assign regions not just to the page but to any other PHPTempalte
>> template, e.g., node.tpl.php. I've updated the handbook with
>> instructions on how to do this, http://drupal.org/node/29139.
>>
>> This approach should allow much more flexibility in theme design and
>> in block coding for targetted areas, though some care will be needed
>> to make it work intiutively. Issues include:
>>
>> * Users may be confused if they assign blocks to a region that only
>> appears on node pages
>> * Need to distinguish between full node listings and teasers.
>>
>> See also this issue http://drupal.org/node/67681
> Weird! I wrote up a different method on doing that today without having
> known that you did the same thing: http://www.nicklewis.org/node/846

I actually was doing something similar shortly before those were posted.
Main difference I can see is my use of drupal_set_content().

-- 
Neil Drumm
http://delocalizedham.com/


More information about the development mailing list