<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to news</title><link>https://sourceforge.net/p/templatelite/news/</link><description>Recent posts to news</description><atom:link href="https://sourceforge.net/p/templatelite/news/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 23 Dec 2017 16:57:48 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/templatelite/news/feed.rss" rel="self" type="application/rss+xml"/><item><title>Merry Christmas Release.</title><link>https://sourceforge.net/p/templatelite/news/2017/12/merry-christmas-release/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Merry Christmas&lt;/strong&gt;, everyone. I have just finished up the 2.20 release a little early, fixing many issues, (Especially one I created with the last release, which broke the comments tag), and I am happy to say I have run this new release against multiple tests, and even one production environment to ensure I the main features are still working correctly.&lt;/p&gt;
&lt;h1 id="new-features"&gt;New Features&lt;/h1&gt;
&lt;p&gt;There are a few new features, which I am super excited about, and already using in my own websites.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Object dereferencing in templates. This is the arrow -&amp;gt; syntax, now available for use with template variable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inheritence for templates!&lt;/strong&gt; Using the new tags, {extends}, {region} &amp;amp; {get_region}. You can now have parent and child themes, with multiple levels of inheritence.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="bug-fixes"&gt;Bug Fixes&lt;/h1&gt;
&lt;p&gt;Here are a list of the bug fixes, with the ticket number for reference.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;#46 &lt;a class="" href="https://sourceforge.net/p/templatelite/bugs/46/"&gt;section vars problems&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;#45 &lt;a class="" href="https://sourceforge.net/p/templatelite/bugs/45/"&gt;Embedding object property in quotes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;#44 &lt;a class="" href="https://sourceforge.net/p/templatelite/bugs/44/"&gt;Compiler register modifier, class/​static method&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;#42 &lt;a class="" href="https://sourceforge.net/p/templatelite/bugs/42/"&gt;Bug in clear_assign method&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;#39 &lt;a class="" href="https://sourceforge.net/p/templatelite/bugs/39/"&gt;Current _var_bracket_regexp breaks vital syntax compablty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;#38 &lt;a class="" href="https://sourceforge.net/p/templatelite/bugs/38/"&gt;object support&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="personal-note"&gt;Personal Note&lt;/h1&gt;
&lt;p&gt;Thank you to everyone who is downloading this library. I am excited to continue development of the library into 2018. All of the recent downloads has most certainly improved my motivation to continue to develop and support this library.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Don Duvall (gasdevelper, tazdij)&lt;br/&gt;
&lt;a class="" href="http://tazdij.com" rel="nofollow"&gt;tazdij.com&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Don Duvall</dc:creator><pubDate>Sat, 23 Dec 2017 16:57:48 -0000</pubDate><guid>https://sourceforge.net1014d61c64fbe729b58bc16a290022ba85d308d7</guid></item><item><title>PHP 7+ Support</title><link>https://sourceforge.net/p/templatelite/news/2017/11/php-7-support/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hey there, it has been about 6 years since I last gave TemplateLite any attention. Thanks to adnan360, and the contribution of a change to the Comments parsing in the TemplateLite Compiler. Sparking my interest in this old project, to follow through with my work on it, and continue supporting it. As of now Version 2.12 has been uploaded and it is fully PHP 7+ compatible and should not generate errors or warnings. If you happen to discover any warnings or errors, please let me know, and I will work on resolving them for you.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Don Duvall</dc:creator><pubDate>Wed, 15 Nov 2017 07:21:21 -0000</pubDate><guid>https://sourceforge.net4636adc96f272e1d4696345672618dc291c3a8d4</guid></item><item><title>New TemplateLite Version 3.00 Alpha Soon!</title><link>https://sourceforge.net/p/templatelite/news/2012/08/new-templatelite-version-300-alpha-soon/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry for the lack of progress since I have acquired this project. I have been running behind on everything. But good news, I am now working on a new version of TemplateLite. I have decided to take a new approach to the template syntax. It is more expessive and less verbose than the current template syntax, with an optional HTML alternative syntax. This is due to many projects that I had train designers to use the Smarty markup. It is just to programmer like for a lot of designers that dont want to learn to code in anything that even looks like a programming language. So I have been working on a language that I think is simpler for designers, and a modification to the existing language which will make it easier for those that are more comfortable with coding.&lt;/p&gt;
&lt;p&gt;All of the supported languages will be usable by setting the .mode compiler option at the top of each template file. No matter the .mode selected all templates will be able to work together in the same project. This means you can include a template containing say the header code, written in HTML Desinger code into a Tpl2 template, or any mix of the three syntax modes.&lt;/p&gt;
&lt;p&gt;There are some differences in the languages, other than just syntax. Many new languages features are not planned to be supported in the HTML syntax. The biggest feature missing will be Macros, these are similar to functions in php, however are built in the template, for allowing nested display logic. Singe the HTML language is made for designers with little to no programming knowledge, I have decided to leave this feature to the new language.&lt;/p&gt;
&lt;p&gt;The three language mode are:&lt;br/&gt;
{.mode Tpl3}&lt;br/&gt;
{.mode Tpl2}&lt;br/&gt;
{.mode Html}&lt;/p&gt;
&lt;p&gt;If not specified, TemplateLite will default to Tpl3. Setting the DefaultLanguageMode config option will change the default.&lt;/p&gt;
&lt;p&gt;Here is a little sample of each.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="c"&gt;&amp;lt;!-- New Default Syntax --&amp;gt;&lt;/span&gt;
{foreach user in users}
    Username: {user.usename}&lt;span class="nt"&gt;&amp;lt;br&amp;gt;&lt;/span&gt;
    {if user.group_id == 'admin'}
        * superuser&lt;span class="nt"&gt;&amp;lt;br&amp;gt;&lt;/span&gt;
    {/if}
{/foreach}

&lt;span class="c"&gt;&amp;lt;!-- HTML Designer Syntax --&amp;gt;&lt;/span&gt;
{.mode Html} 
&lt;span class="nt"&gt;&amp;lt;tpl:foreach&lt;/span&gt; &lt;span class="na"&gt;loop=&lt;/span&gt;&lt;span class="s"&gt;"users"&lt;/span&gt; &lt;span class="na"&gt;var=&lt;/span&gt;&lt;span class="s"&gt;"user"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    Line: &lt;span class="nt"&gt;&amp;lt;tpl:print&lt;/span&gt; &lt;span class="na"&gt;var=&lt;/span&gt;&lt;span class="s"&gt;"user.username"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;tpl:if&lt;/span&gt; &lt;span class="err"&gt;user.group_id&lt;/span&gt; &lt;span class="err"&gt;eq&lt;/span&gt; &lt;span class="err"&gt;"admin"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        * superuser
    &lt;span class="nt"&gt;&amp;lt;/tpl:if&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/tpl:foreach&amp;gt;&lt;/span&gt;

&lt;span class="c"&gt;&amp;lt;!-- Tpl2 Mode Syntax --&amp;gt;&lt;/span&gt;
{.mode Tpl2}
{foreach from="users" value="user"}
    Username: {$user}&lt;span class="nt"&gt;&amp;lt;br&amp;gt;&lt;/span&gt;
{/foreach}
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Part of the change is coming from the need to redesign the parser and compiler class to maintain compatibility with the newer versions of PHP and removing deprecated features. I am using this as an opportunity to refocus the project. Pushing for a language that offers simple and advanced usage, as well as having a compatibility mode. A more optimized runtime object to reach near direct PHP execution speed and only a slim runtime overhead.&lt;/p&gt;
&lt;p&gt;Please let me know your opinions.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Sat, 11 Aug 2012 21:14:50 -0000</pubDate><guid>https://sourceforge.net7e6f59869b145ebbb9690e6a06f81ac47888f8ea</guid></item><item><title>Template Lite Version 2.10 Released</title><link>https://sourceforge.net/p/templatelite/news/2007/01/template-lite-version-210-released/</link><description>and _rmdir from within the template class to the internal 
directory. The program code will only be loaded if a 
template requires them.

Added register_resource and unregister_resource support. 
Different resources are supported by everything except for 
cached template output.

Added _get_resource internal function for processing file: 
and absolute tag resources.

Added resize_image plugin.

Fixed support for absolute paths to template files. 
Absolute pathing wasn't functioning properly and only 
halfway worked in the {include} tag. Absolute pathing 
should work with the {include} tag, fetch method and 
display method. The optional use of the file: designator 
was added.

Fixed Undefined variable: notices in function.mailto.php.

Fixed return by reference error in class.template.php when 
using the get_template_vars and get_config_vars methods.

Fixed append method at line 199 in class.template.php. If 
the merge flag was set arrays would not be merged properly 
because of the wrong variable element name.

Changed compiled page HTML comment to a PHP comment to 
prevent UTF-8 failures from occuring.

Re-added showheaderinfo prefilter plugin.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Fri, 10 Aug 2012 05:34:05 -0000</pubDate><guid>https://sourceforge.nete660f9b9a9c2fd2c8c425f7c18f3c47d761f0f4b</guid></item><item><title>Template Lite Version 2.00 Released</title><link>https://sourceforge.net/p/templatelite/news/2006/12/template-lite-version-200-released/</link><description>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.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Fri, 10 Aug 2012 05:34:05 -0000</pubDate><guid>https://sourceforge.net1764fc0b5976b814407be06d8ffa94666e5b13d1</guid></item><item><title>Template Lite Version 1.50 Released</title><link>https://sourceforge.net/p/templatelite/news/2006/04/template-lite-version-150-released/</link><description>Added array_reverse modifier.

Added reserved_template_varname configuration variable.
This variable can be changed from templatelite to smarty.  
This will allow any of your templates that use the $smarty 
reserved template variable to work without editing.

Added name argument to capture block.

Changed $_TPL reserved variable to $templatelite.  This 
variable is used in the same manner as the $smarty reserved 
variable.

Fixed date modifier

Fixed date_format modifier

Fixed html_select_time function

Fixed html_select_date function

Fixed make_timestamp shared function</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Fri, 10 Aug 2012 05:34:05 -0000</pubDate><guid>https://sourceforge.netb0953274936540b5f3a7dc00d6529094353fc104</guid></item><item><title>Template Lite Version 1.40 Released</title><link>https://sourceforge.net/p/templatelite/news/2006/04/template-lite-version-140-released/</link><description>This release fixes the Call-time pass-by reference errors and problems with the pre/post load_filter and register filter functions.

The clear method was renamed to clear_assign for compatibility.

clear_all_assign and assign_by_ref methods have been added.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Fri, 10 Aug 2012 05:34:05 -0000</pubDate><guid>https://sourceforge.net73959c85267847a2a4e36ab398837ccf62426abf</guid></item><item><title>Template Lite Version 1.10 Released</title><link>https://sourceforge.net/p/templatelite/news/2006/03/template-lite-version-110-released/</link><description>Template lite was originally created by Paul Lockaby as a smaller replacement for Smarty®. The original package was called Smarty Light. Even though Smarty® is an Open Source project the creators of Smarty® decided to trademark the name Smarty®. Because of this trademarking of the name they contacted Paul Lockaby and told him he could nolonger use Smarty in the name for the package. 

Paul Lockaby gave me permission to fork the project if I wanted as he was closing down support and developement for Smarty Light. The initial release of Template Lite contains a few minor bug fixes and some extra features. I plan on adding more features to Template Lite over the next few months. For the most part Template Lite is a drop in replacement for Smarty®. The nice thing about this package is how it uses around half of the memory of Smarty® and it is considerably FASTER and far less CPU intensive when compiling and displaying templates.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Fri, 10 Aug 2012 05:34:05 -0000</pubDate><guid>https://sourceforge.net3fe676779d7d75369eb914b1ad16d2cbe43a6832</guid></item><item><title>Template Lite Version 1.20 Released</title><link>https://sourceforge.net/p/templatelite/news/2006/03/template-lite-version-120-released/</link><description>A  reference notice error was being produced by the new pre/post plugins.  This was not a critical error but an annoying one if notice error reporting was enabled in PHP.

I have added a number of new modifiers for those people who have been requesting them in emails.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Fri, 10 Aug 2012 05:34:05 -0000</pubDate><guid>https://sourceforge.net81eace8695b968ddfc6fca06c51fb3f340140bbf</guid></item><item><title>Template Lite Version 1.30 Released</title><link>https://sourceforge.net/p/templatelite/news/2006/04/template-lite-version-130-released/</link><description>This release adds the following new functions and blocks.

&amp;gt;Added textformat block.

Added html_select_date, html_select_time, html_table, mailto, math, popup and popup_init function.

Added make_timestamp shared function.

Updated and expanded documentation files.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gasdeveloper</dc:creator><pubDate>Fri, 10 Aug 2012 05:34:05 -0000</pubDate><guid>https://sourceforge.netcae011169b97e371bd463bfeca5f53cc1e9fc284</guid></item></channel></rss>