Re: Changed it all... modules!

From: Date: Mon, 17 Dec 2001 14:20:28 +0000
Subject: Re: Changed it all... modules!
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2319@lists.php.net to get a copy of this message
I still think this can be made automatic, just load the plugins/modifiers as they are mentioned in the template, thus skipping the need for a {plugin ...} function called in the template files. > Andreas Heintze wrote: > > OK, I have now modified Smarty_Compiler.class.php so you can put this > kind of tags in your templates: > > {plugin load="mod_alt,func_myfunc"} > > > > Please take a look and see what you thinks about it. > > /Andreas > > > > PS. I have also included my language module in this zip-file. > > Name: Smarty1.5.1x.zip > Smarty1.5.1x.zip Type: Zip Compressed Data > (application/x-zip-compressed) > Encoding: base64 -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#2319) next »