Thread: Maffo NEWS Mod
View Single Post
(#38)
juven14's Avatar
juven14
Moderator
juven14 is on a distinguished road
 
Posts: 1,305
Join Date: Mar 2006
Location: NJ/NYC Area
Default 10-12-2006, 09:05 PM

you can try opening the latest.tpl.php and replacing the foreach section (from {foreach} to {/foreach}) with:

HTML Code:
{section name=mysec loop=$topnews max=4} <tr> <td class="{cycle values="row1,row2" advance=false}"><a href="modules.php?mod=maffo_news&nID={$smarty.section.mysec.newsID}&pg=LN" title="{$smarty.section.mysec.nNewsTitle}">{$smarty.section.mysec.nNewsTitle|truncate:35}</a></td> </tr> <tr> <td>written by {$smarty.section.mysec.author} on {$smarty.section.mysec.dateadded|date_format:"%d/%m/%y @%I:%M"}</td> </tr> {/section}


Regards,

John
mods.auscity.com
v3.1.4 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton