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
Forum Activity
- Need help with pninit/pntables on Mar 12
- Reviews module's Recent reviews are actually the oldest ones on Mar 12
- Problem with Files module on Windows on Mar 12
- Dutch translations needed for some modules on Mar 11
- Delete user not working on Mar 11
- how to change the format of shorturls on Mar 11
- Downloads on Mar 11
Zikula Blog
- How to Become a HipHop Fan on Feb 03
- HTML5 on Feb 02
- Support Free Software on Jan 22
- Module Files available on Dec 13
- Why I love Zikula (Reason #768) on Nov 11
- Theme Creator? on Nov 08
- Time to Embrace PHP 5 on Nov 08
