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
- mercromina responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 08:01 PM
- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
