Code Comments
Programming Forum and web based access to our favorite programming groups.--- messju mohr <messju@lammfellpuschen.de> wrote: > On Fri, Feb 11, 2005 at 11:52:39AM -0800, boots wrote: > > it *is* officially supported. you seem to mix that up with multiple > template_dirs, which aren't. Yeah I do get them mixed-up. I blame it on fridays. And Tequilla. Cheers! xo boots > greetings > messju >
Post Follow-up to this message<<<< This is the directories where Smarty will look for the plugins that
it needs.
required.
----------------------
I'd love this to go in the manual with the example
$smarter->plugins_dir = array('plugins',MY_SMARTY_CUSTOM_PLUGINS
_DIR);
The reason ---
I updated smarty on two sites this w
to smarty 2.6.7
Two sites "krashsed" as the new programmer I'm working with had created
a few custom modifiers (which is
);
These were absent in the upgrade which means a few pages failed ;-( Even
though we walked through the site (to recompile templates) we didnt
touch those 2 pages and as plugins are "loaded when required" we did not
see the error.
The issue has been resolved with above code, however its is in my mind a
"feature" that needs more higlighting.
There could also be a comment and link to
$smarty->register_function('date_now', 'print_current_date');
and also how to call php functions as in $sections|@count for example
At this rate I might even get the job of maintaining some of the
documentation from an end users point of view ;-))))
Smarty - me love it ;-)
pete "mash" morgan
Boots wrote:
> --- messju mohr <messju@lammfellpuschen.de> wrote:
>
>
>
> Yeah I do get them mixed-up. I blame it on fridays. And Tequilla.
>
> Cheers!
> xo boots
>
>
Post Follow-up to this message"pete M" <pmorgan@ukds.net> wrote in message
news:20050212102421.50065.qmail@lists.php.net...
> <<<< This is the directories where Smarty will look for the plugins that
> it needs.
>
> ----------------------
> I'd love this to go in the manual with the example
> $smarter->plugins_dir = array('plugins',MY_SMARTY_CUSTOM_PLUGINS
_DIR);
>
I do this as well... :-)
Robert
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.