Friday, 2002-10-18 : DTemplate 1.1
DTemplate 1.1 is now available in the downloads section. Anyone who is/has used DTemplate before should read the documentation, as there have been some changes to a few functions.
Most importantly, this version brings a significant speed increase when using dynamic blocks.
Changes:
! changed the function define to define_templates. define is an internal function in PHP.
! parse_dynamic is now an internal function and should not be called from scripts using DTemplate, use parse instead.
! parse no longer requires an output handle. most of the time the output is only going to one place. And in the case of dynamic blocks can only go to one place.
! when using an output handle with parse, it is now the second argument.
! when defining dynamic blocks, if the block is inside another block, it should reference the parent block in the second argument instead of the template.
+ dramatic speed increases when dealing with dynamic blocks over version 1.0.1.