Someone (an anonymous user) pointed out a bug with the {foreach} tag: the ".last" property was being set one iteration premature. It was an easy fix; I corrected it the same day (Feb. 1).
Whoever pointed it out, thank you!
I've postponed working on {config_load} for foreseeable future. Coding for it is pretty tough, and frankly, I see it rarely used in Smarty templates.
However, I'm pretty excited working on a fetch method. Basically, it will return the result of a template back to the caller. This is what the Smarty fetch command does.
strContent=objT.fetch("dates.tpl")
This would compile the template, execute it "invisibly," and return the output.
My initial tests shows that it won't work if your webserver is running on XP. It returns, "The requested resource is in use." This problem doesn't exist on Windows Server 2003.
Post your URL as a comment!
Wednesday, February 10, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment