By steveoliver on
I am using the flexiblock module v1.8 with drupal v4.6.6. I would like to use some php code in my page.tpl.php which checks for the assignment (or not) of any blocks to each flexiblock region before generating the flexiblock divs. (I have no need for flexiblock divs where there are no blocks are assigned to them.)
Any ideas? I hope I have given enough description of my situation and request for assistance.
Regards,
-Steve
Comments
Count me in for this
I would be interested to know how to do this myself. I am hardly a coder but, right now I am trying to work with the code:
However, this is not working. I'm not really sure what needs to be in the if statement, or where it has to be placed.
I'd be interested to find out!
-txcrew
I think I got it
I think I got it now, just had it in the wrong place. Again, not sure if this is the best way to do this but it worked for me:
Hope this helps,
txcrew
Working in drupal 4.6.6 and 4.7.2
This doesn't look very elegant, but it's functional
For drupal 4.6.6,
This makes more sense... Using drupal 4.7.2's theme-specific regions feature,
Steve Oliver
Creative Director
Oliver Associates, Inc.