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

Search found 5 matches
Smarty Forum Index
Author Message
  Topic: Bug? $compile_check
pauloricardo

Replies: 4
Views: 5924

PostForum: Smarty 3   Posted: Wed Oct 21, 2009 10:28 pm   Subject: Bug? $compile_check
Thank you so much for the fast fix. Very Happy

Regards,
pauloricardo
  Topic: Bug? $compile_check
pauloricardo

Replies: 4
Views: 5924

PostForum: Smarty 3   Posted: Wed Oct 21, 2009 1:58 pm   Subject: Bug? $compile_check
If you load the config file with the {config_load...} tag from your templates it should work.

However if you load them in your script with the $smarty->config_load method this is not detected. ( ...
  Topic: Caching problem
pauloricardo

Replies: 1
Views: 2199

PostForum: General   Posted: Tue Oct 20, 2009 11:55 pm   Subject: Caching problem
I workarounded this problem in a not very elegant way Sad:

public function fetch() // it's the method that I use to get cache contents within my own class
{
// If lock ...
  Topic: Bug? $compile_check
pauloricardo

Replies: 4
Views: 5924

PostForum: Smarty 3   Posted: Tue Oct 20, 2009 11:43 pm   Subject: Bug? $compile_check
Hi,

The docs says:

If $caching is enabled and $compile_check is enabled, then the cache files will get regenerated if an involved template file or config file was updated.

I'm using Smarty 3 ...
  Topic: Caching problem
pauloricardo

Replies: 1
Views: 2199

PostForum: General   Posted: Mon Oct 19, 2009 7:25 pm   Subject: Caching problem
Hi,

After all, everything is Ok with my script. Smile

But I need to improve it. I'm caching some data of Twitter API, with a cache_lifetime of 3600 seconds (1 hour). Occasionally, the connection wi ...
 
Page 1 of 1
All times are GMT
Jump to:  


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