1
I'm trying to find a way to get my news to show up on the front page of my website and also in the news section. Right now I am making custom blocks everytime I have some news that I want on the top page. What I am looking to do is make a center block that will show up the 5 most recent news articles, but not just the links to them I want all the text/images there also. Check out my site at
http://www.wowcot.uni.cc at the bottom of the page where it says recent news. If anyone could please help me edit the code so it would show the text of the article also I would greatly appreciate it. Btw here is what the code looks like as of now...
<{foreach item=news from=$block.stories}>
<div class="item">
<div class="itemHead"><span class="itemTitle">
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}>a>
span>div>
<div class="itemInfo">
<span class="itemPostDate"><{$news.date}>span> (<span class="itemStats"><{$news.hits}> readsspan>)
div>
<div class="itemBody">
<{$story.imglink}>
<p class="itemText"><{$news.text}>p>
div>
<div class="itemFoot"><span class="itemPermaLink">
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.readmore}><{$news.comments}>a>
span>div>div><br />
<{/foreach}>
<hr>
<div style="text-align: right; margin: 10px;"><b><i><a href="<{$xoops_url}>/modules/news/">[Read More News]a>i>b>div>