22
Hi bbgds,
Got your email. Here is the code in one of the blocks in my Topics Block module:
<div style="padding-bottom: 5px;">
<a href="<{$xoops_url}>/modules/news/index.php?storytopic=2">Newsa> |
<a href="<{$xoops_url}>/modules/news/index.php?storytopic=13">PhilHealtha>div>
<{foreach item=item from=$block.items}>
<div style="padding-bottom: 3px;">» <a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$item.id}>" style="font-weight: normal;"><{$item.title}>a>div>
<{/foreach}>
Basically, I hard-coded the name of Category into each block I am using. But you need to let the <{foreach}> do its own looping to get the news items displayed. I am not sure if the foreach you used and the Smarty tags in there are from the Topics Block module.
Here is a screenshot of my Block Settings:
Hope this helps.