RE: [SMARTY] Question re caching and {dynamic}
| From: | Isaac Vita Kohn | Date: | Sat, 13 Mar 2004 20:11:35 +0000 |
| Subject: | RE: [SMARTY] Question re caching and {dynamic} | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11119@lists.php.net to get a copy of this message | ||
Stupid question can be disregarded. Just had to RTFM a bit more closely.
Sorry for the e-mail clutter.
Isaac
-----Original Message-----
From: Isaac Vita Kohn [mailto:ivk5@columbia.edu]
Sent: Saturday, March 13, 2004 3:07 PM
To: smarty-general@lists.php.net
Subject: [SMARTY] Question re caching and {dynamic}
Hi all,
I'm trying to make {insert ... assign=variable} play nice even when
caching is turned on. My first thought was to use the {dynamic} {/dynamic}
pragma (mentioned in passing at
http://smarty.php.net/manual/en/caching.cacheable.php):
{dynamic}
{insert ... assign=variable}
{* do some stuff with variable *}
{/dynamic}
Unfortunately, Smarty complains that it doesn't recognize that {dynamic}
tag. I'm using v2.5.0. Is this a feature that was new with v2.6.0? Don't
see it in the changelog...
Thanks,
Isaac
Isaac Vita Kohn
Columbia Daily Spectator
http://www.columbiaspectator.com/