Re: [SMARTY] plugins not working
| From: | messju mohr | Date: | Sun, 13 Jul 2003 18:54:44 +0000 |
| Subject: | Re: [SMARTY] plugins not working | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9883@lists.php.net to get a copy of this message | ||
unfortunately, there is a bug in the examples at
http://smarty.php.net/manual/en/language.function.html.image.php
call the plugin {html_image file="pumpkin.jpg"} and not
{image file="pumpkin.jpg"}
greetings
messju
On Sat, Jul 12, 2003 at 08:36:32PM -0700, Chris Hubbard wrote:
> Ok. I'm stuck and I've tried a number of things and none of them seem to
> work.
>
> I've got the following folder structure.
> html/
> functions/
> smarty files
> plugins/ drwxr-xr-x
> ir/
> hq.php
> templates/
> hq.tpl
> templats_c/
>
> Smarty.class.php contains the following line:
> var $plugins_dir = array('plugins'); // plugin directories
>
> when I try to run the php file I get the following:
>
> Fatal error: Smarty plugin error: [in hq.tpl line 23]: unknown tag - 'image'
> in /home/r/f/user/html/functions/Smarty.class.php on line 1980
>
> I've tried setting the line in the Smarty.class.php to:
> var $plugins_dir = array('/home/r/f/user/html/functions/plugins/');
> // plugin directories
>
> Other than the plugins not working Smarty seems to be working fine.
>
> Any suggestions as to what I'm doing wrong?
>
> Chris Hubbard
> chris@wildcharacters.com
> www.wildcharacters.com
> 425 481 2020
>
> php based web application development
>
> Y! hoponpopontoponmoponcop@yahoo.com
> MSN another_ganesha@hotmail.com
> AIM ganeshacph
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php