Start ::
Developers Corner ::
Module Development ::
Blocks customargs?
Moderated by: Support Team
-
- rank:
-
Freshman
- registered:
- January 2007
- Status:
- offline
- last visit:
- 16.07.08
- Posts:
- 37
Reworded for clarity:
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
Start ::
Developers Corner ::
Module Development ::
Blocks customargs?
