Author |
Message |
Topic: Override compile_check options |
winus
Replies: 6
Views: 12234
|
Forum: 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: 12234
|
Forum: 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
it's a news site where administrators can add ne ... |
Topic: Override compile_check options |
winus
Replies: 6
Views: 12234
|
Forum: 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: 3790
|
Forum: 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: 3790
|
Forum: 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: 4978
|
Forum: 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 |
Topic: custom function + modifier combo |
winus
Replies: 2
Views: 4978
|
Forum: 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"}
... |
|