Include without cache
| From: | Roberto Berto | Date: | Thu, 01 Nov 2001 10:10:48 +0000 |
| Subject: | Include without cache | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1775@lists.php.net to get a copy of this message | ||
It's possible and easy to do add a subtag to include to disallow only in
this file the cache?
Usefull because with insert function the cache is disable BUT we need to
make other object to call Smarty if we want the called insert function use
Smarty and dont use cache.
So, with {include file="somefile.tpl" cache="no"} we can use a litle file
uncached.
Although, we can use something like:
Awsner #1 {insert name="function" iWantOnlyTheElementOfThePollNumber=1}
Awsner #2 {insert name="function" iWantOnlyTheElementOfThePollNumber=2}
Atenciosamente,
Roberto Berto'
----------------
roberto@berto.net
eConsultor
0(XX)51 32270599 -> Horario preferencial: 13h - 20h
0(XX)51 91169628 -> Em outros horarios