Re: [SMARTY] Plugin problem
| From: | Jochem Maas | Date: | Fri, 03 Nov 2006 14:09:01 +0000 |
| Subject: | Re: [SMARTY] Plugin problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13542@lists.php.net to get a copy of this message | ||
Erich C. Beyrent wrote:
> I have written a plugin called html_select_date2, and it is giving me
> some trouble. The first time the page loads, the function is called and
> everything works smashingly. However, if I refresh the page, I get this:
> *
> Fatal error*: Call to undefined function:
> smarty_function_html_select_date2() in
> */public_html/php/templates_c/%%24^24D^24D5865F%%default.form.tpl.php*
> on line *97
>
> *Is this a permissions problem, or is something else going on here?
the function is not being loaded. what I do is stick all my custom
smarty plugins in a directory and then add that directory to the list of
plugin dirs - that way Smarty will always be able to find/load your plugins
>
> -Erich-
>