Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [SMARTY] Own $plugins_dir
--- 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
> 

Report this thread to moderator Post Follow-up to this message
Old Post
Boots
02-12-05 02:00 AM


Re: [SMARTY] Own $plugins_dir
<<<< 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
>
> 

Report this thread to moderator Post Follow-up to this message
Old Post
pete M
02-12-05 01:58 PM


Re: [SMARTY] Own $plugins_dir
"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

Report this thread to moderator Post Follow-up to this message
Old Post
Robert
02-15-05 09:05 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Smarty Templates archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:47 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.