Re: looped includes in section

From: Date: Mon, 26 Mar 2001 16:41:26 +0000
Subject: Re: looped includes in section
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-440@lists.php.net to get a copy of this message
On Mon, 26 Mar 2001, Holger Bahr wrote: > <php> > // ... same as above > </php> > > <template> > {section name=side loop=$subs} > {include file = "$side/subs"} > {/section} > </template> > > Output: > "Warning: Failed opening './templates_c//subs.php' for inclusion" Try: {include file=$side/subs} -Andrei Computer, if you don't open that exit hatch this moment I shall zap straight off to your major data banks and reprogram you with a very large axe. -- Douglas Adams / The Hitchhiker's Guide to the Galaxy

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