Hi!
I made a menu showing links to static pages, but I don't want to show all of them only the five last. How do I go about it? Here is my code for that module:
******************************
{* $Id: pages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *}
{section name=pg loop=$pages_menu}
{if $pages_menu[pg].pageid ne "6" and $pages_menu[pg].pageid ne "10" and $pages_menu[pg].pageid ne "7"}
<div style="padding-bottom: 2px">{* WebsiteCM CDSEO - START *}<A href="{$http_location}/{$cdseo_pages}/{$pages_menu[pg].filename}" class="VertMenuItems" title="{$pages_menu[pg].title}">{* WebsiteCM CDSEO - END *}{$pages_menu[pg].title|truncate:28:"...":true}</a></div>{/if}
{/section}
******************************
You can see the menu "Artikler" at right:
http://www.caffeclub.no/p/home.php