Blocks customargs?  Top

  • 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
  • Hmm. I've got this to work now anyway. Using some CSS trickery, the order of the elements no longer matters.
    Cheers though

This list is based on the users active over the last 60 minutes.