Hi, in one of my module blocks I want to pass back some none standard variables. So, as well as 'title' and 'content' I want to pass a variable called, lets say, 'icon' - my theme then handles this. However, this variable is still set when the following block, say admin_messages is displayed - and so the template acts on the variable again, even though it wasn't set in admin_messages.
How do I overcome this? Is there a variable in $blockinfo which is cleared between calls to blocks so that I can store custom info in it?
Thanks!
edited by: ntward, Feb 24, 2007 - 03:42 PM
[23]Posted: 09.03.2007, 00:16
[24]
rank:
Freshman
registered:
January 2007
Status:
offline
last visit:
16.07.08
Posts:
37
Hmm. I've got this to work now anyway. Using some CSS trickery, the order of the elements no longer matters.
Cheers though