5
Madfish, thanks and let me explain:
I set two blocks, that works perfect. I managed to change the names (doing what you said) but the problem is that the blocks only show the content (i.e latest topics and hot topics, it shows a list of topics). I want to display on top of that content a title, so on the template (newbb_block_topic.html) I added this second line:
<{elseif $block.disp_mode == 2}>
this is the line I added. like this it shows on both, so I'm trying to get the block title, like this it doesnt work <{$block.title}>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values="even,odd"}>">
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>">
<{if $topic.topic_subject}>
<{$topic.topic_subject}>
<{/if}>
<{$topic.title}></a><{$topic.topic_page_jump}>
</td>
</tr>
<{/foreach}>
So I guess my question qould be how do I display in the block that block title...no need for two templates if I can do this...
thanks