|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
i-litovan Smarty Rookie
Joined: 03 Aug 2013 Posts: 13
|
Posted: Sat Sep 21, 2013 11:37 pm Post subject: Clipcache - new focus method |
|
|
Hi
I modernization clipcache...
{clipcache group="test123" cache_id="cache_key_page_`$page.uid`" cache_lifetime=5}
So you can use a variable in blocks clipcache
prefilter.clipcache.php modification...
Code: |
$replacements[] = ' {include_clipcache file="'. $file_name . '"
'.$clip_blocks[1][0].'}';
|
|
|
Back to top |
|
i-litovan Smarty Rookie
Joined: 03 Aug 2013 Posts: 13
|
Posted: Wed Sep 25, 2013 5:56 pm Post subject: |
|
|
Code: | {clipcache[50x] group="headerMenu" cache_id="cache_key_page_`$page.uid`" cache_lifetime=-1}
--
{/clipcache[50x]}
VS
{clipcache group="headerMenu" cache_id="cache_key_page_`$page.uid`" cache_lifetime=-1}
--
{/clipcache group="headerMenu" cache_id="cache_key_page_`$page.uid`" cache_lifetime=-1} |
|
|
Back to top |
|
i-litovan Smarty Rookie
Joined: 03 Aug 2013 Posts: 13
|
Posted: Wed Sep 25, 2013 6:13 pm Post subject: |
|
|
Code: |
{clipcache_0 group="headerMenu" cache_id="cache_key_page_`$page.uid`" cache_lifetime=-1}
fwefewfew
{/clipcache_0}
|
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|