1
I'm working on a new theme that I would like to have dynamically expanding blocks with. Currently, the only blocks that I can control (that I know of) using Smarty are the center and right blocks, using:
<{if $xoops_showcblock == 1}>
<{if $xoops_showrblock == 1}>
I tried using similar statements for left, center-left, and center-right block using the following but it did not work:
<{if $xoops_showlblock == 1}>
<{if $xoops_showclblock == 1}>
<{if $xoops_showcrblock == 1}>
After looking at header.php, I see where this could be hacked in (not really sure on the proper syntax though); however, I'd really hate to have to hack a core file for a theme. Somehow I don't think many people would want to use the theme.
Is there an equivalent statement that I can use in theme.html to produce the desired results? Maybe something wraped in a php statement?
<{php}>equivalent php if statement here<{php}>
Thanks in advance,
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.