1
I'm trying to modify the random news block and want to include the news items image randomly.
I tried this:
<table>
<tr>
<td>
<ul>
<{foreach item=news from=$block.stories}>
<img src=$story.imglink>
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>" <{$news.infotips}>><{$news.title}></a> <br /><{$news.teaser}></li>
<{/foreach}>
</ul>
</td>
</tr>
</table>
Probably really simple. What can I say. I'm new to all of this. Help would be appreciated.