Re: Block title a MUST?! are you freaking kidding me?!

Posted by nachenko on 1268419699
No big deal.

In all my themes, i add some code to the block's template so they hide the title when they find the word "hide" at the beginning of the title.

This is it:

<{if $block.title && $block.title|truncate:5:"":true != "hide:"}> <{$block.title}> <{/if}>

It does the trick while saving you from hacking the core.

By the way, this lets you have titles for all blocks, which is something I recommend for easier organization and maintenance.

This Post was from: