Question re caching and {dynamic}
| From: | Isaac Vita Kohn | Date: | Sat, 13 Mar 2004 20:06:55 +0000 |
| Subject: | Question re caching and {dynamic} | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11118@lists.php.net to get a copy of this message | ||
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/