RE: smarty.section.sectionname.varname variables
| From: | Steve | Date: | Wed, 20 Feb 2002 22:16:12 +0000 |
| Subject: | RE: smarty.section.sectionname.varname variables | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2798@lists.php.net to get a copy of this message | ||
I use that all the time. I'd like to display the number of objects in array
$list in my template. The debug console doesn't display any $smarty[]
variables - at least mine doesn't. Has debug.tpl changed recently?
-----Original Message-----
From: mohrt@ns3.ispi.net [mailto:mohrt@ns3.ispi.net]On Behalf Of Monte
Ohrt
Sent: Wednesday, February 20, 2002 2:08 PM
To: Steve
Cc: smarty@lists.ispi.net
Subject: Re: [smarty] smarty.section.sectionname.varname variables
Did you try the debugging console?
Steve wrote:
>
> How do find the possible values for smarty.section.sectionname.varname ?
>
> I'm passing an array of object and I'd like to know how many elements
there
> are (in a template variable).
>
> I can't find it in the docs.
>
> Thanks,
>
> Steve