hello , am working on showing the last 3 posts showed on a message board ( bitweaver ) and i would like to know what to add on the below line of code to show the last 3 this is what i have that shows the last post

Code:
<a href="{$board.last.url}" title="{$board.last.title| default:"Post..."}">{$board.last.title|default:"Post..."|truncate:40}</ a>


what should i add to the code above to pull the last 3 posts so i could have it like this... (the code below just shows the latest in a list format )

Code:
{if !empty($board.last)}
&raquo;&nbsp;<a href="{$board.last.url}" title="{$board.last.title| default:"Post..."}">{$board.last.title|default:"Post..."|truncate:40}</ a>
               <br/>
&raquo;&nbsp;<a href="{$board.last.url}" title="{$board.last.title|default:"Post..."}">{$board.last.title| default:"Post..."|truncate:40}</a>
               <br/>
&raquo;&nbsp;<a href="{$board.last.url}" title="{$board.last.title|default:"Post..."}">{$board.last.title| default:"Post..."|truncate:40}</a>
               <br/>
                    {/if}



Best Regards
Michael S.


Reply via email to