Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: Override compile_check options
winus

Replies: 6
Views: 12095

PostForum: Smarty Development   Posted: Mon Oct 29, 2012 8:25 am   Subject: Override compile_check options
Anyone ? If it is not possible it might be a nice feature?
  Topic: Override compile_check options
winus

Replies: 6
Views: 12095

PostForum: Smarty Development   Posted: Fri Oct 12, 2012 10:48 am   Subject: Override compile_check options
I think i let some information behind.

The resource does have timestamp by the way.

Maybe i am using smarty for what it is not designed for Wink

it's a news site where administrators can add ne ...
  Topic: Override compile_check options
winus

Replies: 6
Views: 12095

PostForum: Smarty Development   Posted: Thu Oct 11, 2012 2:51 pm   Subject: Override compile_check options
I have a site driven by smarty, and i let the code the admin's enter a few plugin-codes to make there life easier. So i built a custom resource and all works well. But i have the option compile_check ...
  Topic: Slow performance on compiled template
winus

Replies: 1
Views: 3782

PostForum: General   Posted: Wed Aug 22, 2012 4:02 pm   Subject: Slow performance on compiled template
Nevermind, found the bugger probably.. i am using symfony2 with local esi caching... every esi request makes the "parent" also slower...
  Topic: Slow performance on compiled template
winus

Replies: 1
Views: 3782

PostForum: General   Posted: Wed Aug 22, 2012 2:03 pm   Subject: Slow performance on compiled template
Measurement method;
define('START', microtime(true));
$this->smarty->fetch($template);
echo microtime(true)-START;
exit();

compile and run(nothing shocking):
6.2064521312714

Run:
0.2 ...
  Topic: custom function + modifier combo
winus

Replies: 2
Views: 4969

PostForum: General   Posted: Tue Dec 23, 2008 4:52 pm   Subject: custom function + modifier combo
Awesome! your my hero.
Now that I see it, it also seems quite logical Very Happy
  Topic: custom function + modifier combo
winus

Replies: 2
Views: 4969

PostForum: General   Posted: Mon Dec 22, 2008 5:11 pm   Subject: custom function + modifier combo
hello people,

I've written a custom function called "translate" which sometimes needs some modifications in the output.

The usage of the function is:
{translate key="NAME"} ...
 
Page 1 of 1
All times are GMT
Jump to:  


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