[pLog-svn] r4430 - in plog/trunk: class/data/validator class/template locale templates/admin

Oscar Renalias oscar at renalias.net
Tue Dec 26 18:32:21 GMT 2006


Unless anybody is willing to write some more code or we come up with  
a groundbreaking feature that we must have in LT 1.2, this is the  
last new code that I am planning to implement. We're quite far from  
our planned roadmap (http://wiki.lifetype.net/index.php/Roadmap) but  
seeing how slowly we're implementing stuff, I'd rather release a  
little in early 2007 than a lot in 2008 :-)

There's still a lot to test and polish in LT 1.2 so if anybody is  
willing to help, this is a very rough list of what needs to be done:

- Implement permissions in xmlrpc.ph and in the atom plugin
- Port all plugins to the new setting infrastructure, or least the  
5-10 most popular ones.
- Select 5-10 popular templates and update them to make sure they  
work with paged comments and the new common commentform.template.
- See how the new implementation for the storage of resources works  
and whether wizard.php is able to upgrade everything flawlessly.
- Tidy up core code, but I guess I'm the one who can work on this  
better and faster.
- Some other issues that will pop up during this phase

Let me know if, when and how you could help. If you can help, of  
course :-)

Oscar

On 25 Dec 2006, at 16:20, oscar at devel.lifetype.net wrote:

> Author: oscar
> Date: 2006-12-25 14:20:49 +0000 (Mon, 25 Dec 2006)
> New Revision: 4430
>
> Modified:
>    plog/trunk/class/data/validator/templatesetvalidator.class.php
>    plog/trunk/class/template/cachedtemplate.class.php
>    plog/trunk/class/template/template.class.php
>    plog/trunk/class/template/templateservice.class.php
>    plog/trunk/locale/locale_en_UK.php
>    plog/trunk/templates/admin/globalsettings_templates.template
> Log:
> This is my Christmas present to you all :-) "partial" templates,  
> whereby users can now create templates that only include the  
> changed files and everything else, if not found in the user  
> template, is loaded from the templates/default/. If the template  
> file does not exist then a normal Smarty error will be shown.
>
> The way this feature works is controlled by a new configuration  
> setting: template_load_order which can have two values. The first  
> value forces the Template class to first look in the templates/ 
> default/ folder looking for the requested template and if not  
> available, then loads the file from the user's template folder. The  
> second value works the other way around, loading from the user  
> first and if the file cannot be found then loading from the default  
> folder.
>
> This feature also allows for site-wide commentform.template, which  
> in addition cannot be overriden by users. There's also lots of  
> other applications of this feature, hopefully people will find it  
> useful.


More information about the pLog-svn mailing list