Re: array display

From: Date: Mon, 12 Nov 2001 23:00:28 +0000
Subject: Re: array display
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1912@lists.php.net to get a copy of this message
{section name=nav loop=$menu[type]}
Try: {section name=nav loop=$menu.type}
yes that's work : Template : {section name=nav loop=$menu.type}
type:           {$menu.type[nav]} <br />
name:           {$menu.name[nav]} <br />
position:       {$menu.position[nav]} <br />
url:            {$menu.url[nav]} <br />
link:           {$menu.link[nav]} <br />
width:          {$menu.width[nav]} <br />
height:         {$menu.height[nav]} <br /><br />
{/section} However, I think there are not enough examples on the documentation... Is it possible to add some examples ? Thanks Sylvain.B.

« previous php.smarty.general (#1912) next »