5
news_bY_topic.html
div class="item">
<table width='100%' border='0'>
<tr>
<{section name=i loop=$columns}>
<td width="<{$columnwidth}>%" valign="top">
<{foreach item=topic from=$columns[i]}>
<div class="itemBody">
<div class="itemInfo"><span class="itemText"><a href="<{$xoops_url}>/modules/news/index.php?storytopic=<{$topic.id}>"><{$topic.title}></a></span></div>
<{counter start=0 print=false assign=storynum}>
<{foreach item=story from=$topic.stories}>
<{if $storynum == 0}>
<{include file="db:news_item.html" story=$story}><br />
<{else}>
<{if $storynum == 0}>
<ul>
<{/if}>
<li><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$story.id}>"><{$story.title}></a> (<{$story.posttime}>)</li>
<{/if}>
<{counter}>
<{/foreach}>
<{if $storynum > 0}>
</ul>
<a href="<{$xoops_url}>/modules/news/index.php?storytopic=<{$topic.id}>"><{$lang_morereleases}><{$topic.title}></a>
<{/if}>
</div><br />
<{/foreach}>
</td>
<{/section}>
but i want this to show three topics in full and the rest in title in news by topic mode. i dont want the classic one
thanks in advance