I've got a couple of custom content blocks in my template - 1 for the title of the side bar content and another to hold the actual side bar content. The reason I've got it split in 2 is that I do some fancy font/text transform to the title
The problem is that if that page doesn't need/want any side bar, the fancy transform puts an 'X' in the header but only in ie (of course)
I've been playing around with assigns but can't quite get it. Is there anyway I can check the value of a custom content block and if it's it's not "" then transform it?
thanks!
manda
[solved] check custom content block content
[solved] check custom content block content
Last edited by AmandaBTO on Tue Jun 24, 2008 4:00 pm, edited 1 time in total.
Re: check custom content block content
yay forum's
{capture assign='captured_content'}{content block=...}{/capture}
and then later
{if $captured_content != ""}
...
{/if}
sexy
{capture assign='captured_content'}{content block=...}{/capture}
and then later
{if $captured_content != ""}
...
{/if}
sexy

