Re: Code for hiding block titles |
Subject: Re: Code for hiding block titles by TheRplima on 2008/2/15 8:26:56 In my sites I use the same principle but with a different code.
<{if preg_match("/^\./", $block.title) == 0 }>
<div class="blockTitle">
<{$block.title}>
</div>
<{/if}>
<div class="blockContent"><{$block.content}></div>
Using this code you just have to put one . at the beginning of the title of the blocks that you don't want the title to appear. |