Re: [SMARTY] dynamic content inside cached template
| From: | Robin Ericsson | Date: | Tue, 25 Feb 2003 11:32:47 +0000 |
| Subject: | Re: [SMARTY] dynamic content inside cached template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8179@lists.php.net to get a copy of this message | ||
On Sat, 2003-02-22 at 22:58, Giovanni Minniti wrote:
> I need to display some dynamic content inside a cached page.
>
> I have tried to assign the value to a previously cached template file, but
> nothing changed. Even if I try to register a function I see only the old
> content.
> Which approach can I use, who can enlighten me??
{insert}
http://smarty.php.net/manual/en/language.function.insert.php
"""
Insert tags work much like include tags, except that insert tags are not
cached when you have template caching enabled. They will be executed on
every invocation of the template.
"""
--
Robin Ericsson
Profecta HB
http://www.profecta.se/
http://www.prisbevakaren.net/