Author |
Message |
Topic: register_resource() problem |
toycat
Replies: 5
Views: 10377
|
Forum: Smarty 3 Posted: Sun Feb 14, 2010 6:12 pm Subject: register_resource() problem |
For some reasion the _plugins property was not defined.
The fix is in the SVN now.
Excellent, it works now indeed. |
Topic: register_resource() problem |
toycat
Replies: 5
Views: 10377
|
Forum: Smarty 3 Posted: Sun Feb 14, 2010 10:09 am Subject: register_resource() problem |
read the README
Read it, changed to register->resource, but it is not working.
Using this code:
$smarty->register->resource('core', array(
$this,
'coreSmartyGetTempla ... |
Topic: severe: Smarty rev. 3495 kills server |
toycat
Replies: 0
Views: 3644
|
Forum: Smarty 3 Posted: Sat Feb 13, 2010 2:47 pm Subject: severe: Smarty rev. 3495 kills server |
Hello.
I have to report, that Smarty from rev. 3495 kills the server. There seems to be some recursive loop, which eats lots of memory, so after few browser refreshes of page with Smarty instance, ... |
Topic: register_resource() problem |
toycat
Replies: 5
Views: 10377
|
Forum: Smarty 3 Posted: Sat Feb 13, 2010 10:51 am Subject: register_resource() problem |
Hello.
When using 'register_resource' in the latest Smarty 3 version from SVN repository, I keep getting these two errors.
Notice: function call 'register_resource' is unknown or deprecated. i ... |
Topic: Smarty 3 beta 5 released |
toycat
Replies: 35
Views: 99622
|
Forum: Smarty 3 Posted: Thu Jan 07, 2010 9:16 pm Subject: missed that |
I don't see where the problem is. In Smarty3 you can use something like
$var
My apologies, I somehow missed this. Tried it and works superb. Thank you. |
Topic: Smarty 3 beta 5 released |
toycat
Replies: 35
Views: 99622
|
Forum: Smarty 3 Posted: Wed Jan 06, 2010 10:02 pm Subject: usability suggestion: object to array auto-cast |
Hello.
This is just a suggestion, but I think it would be good, if one can enable automatic casting of objects to arrays when accessing variables inside Smarty template.
The reason for this is, ... |
Topic: Smarty 3 beta 5 released |
toycat
Replies: 35
Views: 99622
|
Forum: Smarty 3 Posted: Wed Dec 30, 2009 9:47 am Subject: thank you |
A fix for the cache filename is in the SVN now.
thank you! works like charm now. |
Topic: Smarty 3 beta 5 released |
toycat
Replies: 35
Views: 99622
|
Forum: Smarty 3 Posted: Tue Dec 29, 2009 10:16 pm Subject: error in resource caching ? |
Hello.
When using user defined 'project' resource with cache enabled (i.e. $smarty->caching = 1), I got:
Warning: rename(D:\Apache2\htdocs\test\smarty-cache\cache\wrtD0C2.tmp,D ... |
|