Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
PHP Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2011 at 16:04 UTC
Updated:
2 Mar 2011 at 18:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
johnalbinDude! I was just pondering investigating how to do this! :-)
Comment #2
pixeliteThe patch works for me and would be really useful.
Comment #3
johnalbinLooking at that block_list() part of the patch, I realize it won't work for Context module or other techniques that place blocks without using the block module.
I've modified the technique so that it finds the last block in the region during hook_page_alter().
Comment #4
johnalbinI left the classes out of the blocks.css in the previous patch. Updated and committed.
http://drupal.org/cvs?commit=499074
Comment #5
johnalbinBackporting to 6.x-2.x.
Comment #6
johnalbinHere's the fix I committed. It doesn't add "last" class if you are using Context module (for the reasons stated in #3 above).
http://drupal.org/cvs?commit=501136