9
Why the method doesn't work with the "Recent news" block of the default news module?
If I name it "invis-Recent news" all the entire block doesn't appear anymore. And after renaming it "Recent news" I have to update the module to make it appear again...
why?
It's just that I need to use this structure:
<div id="recentnews">
<h1>Recent news</h1>
<block content...>
</div>
and to make it I need to not show the default block.title otherwise the recent news would show like:
<h1>Recent news</h1>
<div id="recentnews">
block content...>
</div>
according to the theme_blockcenter_c.html template
<{if $block.title|truncate:5:"" == "invis"}>
<{$block.content}>
<{else}>
<h1><{$block.title}></h1>
<{$block.content}>
<{/if}>
so I have to add <h1>Recent news</h1> directly in news_block_top.html hard-coding it (hiding the $block.title).