|Previous Page||Page 1 of 2||Next Page|
Menu Plugin Coming & PHP 5 - March 20, 2007
I have seen some mention on a couple of forums that Template Lite doesn't support PHP 5. I would like to put this to rest. Template Lite is written under PHP 5 and is currently being written under PHP 5.2.1 with E_STRICT enabled. Template Lite works without error under all versions of PHP 5 from 5.1.3 and higher. Before PHP 5.1.3 VAR would give a warning notice under E_STRICT. Template Lite works under PHP 5 without any errors but does not use any PHP 5 specific attributes.
The next version of Template Lite will include a new plugin for creating both Horizontal and Vertical Menus. There are many configuration options for how the menu can look. You can even use a seperate CSS file.
Configuration options for html_css_menu:
* - menu_list = array containing main menu items
The release of Template Lite 2.10 - January 4, 2007
I have added support for the use of template resources. The syntax for register_resource is the same as Smarty with one difference. Template Lite doesn't support the use of a class name when registering the resource. It only supports the standard 4 element array and not the optional 5 element array. You cannot use resources, other than file: or absolute paths when using output caching. This will be enabled in a future release.
Also, the use of absolute pathing was partially working in the last release and is now fully functional.
A number of core template.class.php functions were moved to internal files and will only be loaded when needed. This reduction in memory made room for the resource code.
I have also added a new resize_image plugin. This plugin is very powerful in allowing templates to create and cache thumbnails of images on the website or from other URLs. The plugin supports both the GD library and Imagemagik.
For more information on other fixes please check the changelog.
The release of Template Lite 2.00 - December 17, 2006
This release has a large number of changes to the core code to make the system more modular. Many compiler functions are now modules that are loaded only if needed by a template. This greatly reduces the over all overhead by a considerable amount if you create a standard template (174k used by the compiler).
I have added support for the use of PHP functions as variable modifiers. This mimics how Smarty uses modifiers for compatibility. We have been using plugin files for this on past versions of Template Lite. This has allowed us to remove the following plugins from Template Lite (array_reverse, count, nl2br, number_format, strip_tags, ucfirst, ucwords, urlencode and wordwrap).
One of the most often asked for features that has been missing from Template Lite is the use of IS argument in the IF tag. I have added full support for IS in this release.
And the last change is a HUGE one for me as it is something I have thought was ALWAYS needed in Smarty but no one ever addressed it.
When you have upgraded Template Lite to the latest version I have always recommended clearing the compiled template directory. This is to prevent incompatible code in the compiled file from causing problems. Coding in the compiled template file has changed a number of times over the past few versions of Template Lite and every time it has caused errors to popup because the compiled template file contains incompatible code.
I have added version date checking to Template Lite. It was a fairly simple addition that adds no real processing overhead. Each release of Template Lite has a version creation date and this is compared to the file creation date of a complied template file. If the file creation date is OLDER than the Template Lite version date the template is re-compiled. You no longer need to delete everything in the compiled template directory when you upgrade Template Lite. It basically works the same way as the check for if the original template file has been updated. This makes things so much easier and safer all around.
For more information please check the changelog.
Two missing modifiers in the documentation - October 9, 2006
I somehow missed adding the COUNT and URLENCODE variable modifiers to the Template Lite documentation. I have added them to the online documentation and the updated documentation will be included in the next release.
Our New Website Design - October 3, 2006
I am proud to announce our new web site redesign. This template is far easier to read than the previous template. The previous template really wasn't designed to allow dynamic news content and that really restricted the site.
I have rewritten the backend and frontend software for the site so everything is now dynamic content. This will make it easier to add new sites to the Sites Using Template Lite list. Plus the addition of having real news content for detailing each release.
The latest release of Template Lite is version 1.90. Be sure to check out the change log for more information.
The next few months are going to be an exciting time for Template Lite as new plugins and new features will be arriving. So be sure to check the site regularly or sign up for E-Mail notifications for new releases at Sourceforge or Freshmeat.
|Previous Page||Page 1 of 2||Next Page|