image_html problem
| From: | araki | Date: | Sat, 28 Jun 2003 15:42:58 +0000 |
| Subject: | image_html problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9788@lists.php.net to get a copy of this message | ||
Hi,
if i use:
{image file="pumpkin.jpg"} in my template i get this:
Fatal error: Smarty error: [in data.tpl line 26]: [plugin] unknown tag -
'image' (smarty.class.php, line 2543) in
c:\apache\htdocs\poetry\smarty\smarty.class.php on line 2652
Is there i did not set? Or else? Here is the setup of smarty:
<?php
class Smarty_Setup extends Smarty {
function Smarty_Setup()
{
$this->Smarty();
$this->template_dir = '/templates/';
$this->compile_dir = '/templates_c/';
$this->config_dir = '/configs/';
$this->cache_dir = '/cache/';
$this->caching = true;
$this->assign('app_name', 'Setup');
}
}
?>
Thank you.
Bye