Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: Recursion + undefined method stdClass::__set_state()
dave101ua

Replies: 3
Views: 7104

PostForum: General   Posted: Fri Nov 25, 2016 3:48 pm   Subject: Recursion + undefined method stdClass::__set_state()
Hello everybody!
I have same problem, I read messages above but still don't get what I have to do in order to fix that.

I'm trying to move from Smarty 2 to 3
problem occurs only if I enable cachi ...
  Topic: fro smarty 2 to 3 using IF_FUNC
dave101ua

Replies: 1
Views: 5441

PostForum: Smarty 3   Posted: Tue Nov 08, 2016 3:18 pm   Subject: fro smarty 2 to 3 using IF_FUNC
Hello
I'm going to upgrade from smarty 2 to 3

in smarty 2 I use such trick:
$smarty->security_settings['IF_FUNCS'][] = "isFreeStyle";

this makes isFreeStyle functi ...
  Topic: Smarty 2 & multicache via cache id
dave101ua

Replies: 2
Views: 2151

PostForum: General   Posted: Fri Jan 24, 2014 8:24 am   Subject: Smarty 2 & multicache via cache id
Hm,yes

I was wrong , for this example it works as expected, sorry.

I had a prob at another project with different templates structure, will try it there again.
  Topic: Smarty 2 & multicache via cache id
dave101ua

Replies: 2
Views: 2151

PostForum: General   Posted: Thu Jan 23, 2014 12:28 pm   Subject: Smarty 2 & multicache via cache id
Hello

I have main.tpl and I use cache_id while displaying it as I need to show different content depending on country


$cache_id = $country_id.'|main';

$smarty->display('main.tpl', $ ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP