Re: Code for hiding block titles

Posted by TheRplima on 1203092816
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.

This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=1079&post_id=9725