Re: [SMARTY] Section problem

From: Date: Thu, 20 Feb 2003 14:32:33 +0000
Subject: Re: [SMARTY] Section problem
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7996@lists.php.net to get a copy of this message
What are this blocks for? Perhaps the block functions of smarty is what you are looking for? {foo blah="blub"} do re mi fa so {bar} {/foo} http://smarty.php.net/manual/en/plugins.block.functions.php "Tom Sommer" <webmaster@tsn.dk> schrieb im Newsbeitrag news:20030220140856.20058.qmail@pb1.pair.com... > "Messju Mohr" <messju@lammfellpuschen.de> wrote in > news:20030220140307.GT1626@pharao.lammfellpuschen.de... > > {foreach from=$menu key=name item=href} > > menu = <a href="{$href}">{$name}</a><br> > > {/foreach} > > Thanks, it works > > Does smarty not have blocks like PHPLIB? > like > <!-- BEGIN menu --> > <a href="{URL}">{$ITEM}</a> > <!-- END menu --> > -- > Tom Sommer > www.tsn.dk - www.dreamcoder.dk > >

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