Re: Adding modifiers and function to plug-ins
| From: | Andrei Zmievski | Date: | Wed, 13 Feb 2002 21:36:49 +0000 |
| Subject: | Re: Adding modifiers and function to plug-ins | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2684@lists.php.net to get a copy of this message | ||
On Wed, 13 Feb 2002, Ron Dyck wrote:
> I'm having trouble adding modifiers and functions to the plug-in directory.
> After adding the file: 'modifier.format_paragraph.php' with the appropriate
> function, I get this error:
> Warning: Smarty plugin error: [in index.tpl line 24]: plugin function
> smarty_modifier_format_paragraph() not found in
> /home/admin/sites/develop/Smarty-20020208/plugins/modifier.format_paragraph.
> php
>
> Do the modifiers and function need to be registered somewhere?
What is your function called inside modifier.format_paragraph.php?
-Andrei
* Anything will fit if you push hard enough. *