compile_id respected if compile_check = false?
| From: | DC | Date: | Fri, 23 Jan 2004 23:50:47 +0000 |
| Subject: | compile_id respected if compile_check = false? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10868@lists.php.net to get a copy of this message | ||
I think I am onto some way to solve my previous question... but I need to
know some things...
I have one template file but I want to have it compile in two or more
'places' by using a compile_id parameter passed to display.
If I pass compile_ids to display calls, how do I protect one of those (now
named with compile_id) templates from being recompiled when I turn on
compile_check? Or do I have to approach it from the other side and do
$force_compile for the compile_ids i want to force a recompile and a cache
rebuilding for?
The problem there is that clear_compiled_tpl has no parameter for
compile_id. It seems that it might be nice to be able to send this function
a compile_id to selectively force recompilation (and in my case a
re-building of the cache).
Am I crawling out the wrong branch here?
dan