Page 1 of 1

Probleem met image tag

Posted: Thu Apr 30, 2009 8:43 am
by MasterLee
Hallo voor mijn website wou ik de {content_image} tag gaan gebruiken maar zodra ik de tag op de volgende manier in het template zet krijg ik een error op de website

in het template staat
{content_image block='FeatureBlock1' dir='uploads/images'}

de error is
Fatal error: Call to undefined function _smarty_cms_function_content_return() in C:\xampp\htdocs\mvanderlee\plugins\function.content_image.php on line 35

kan iemand mij verder helpen ?

Aan de achterkant doet hij het wel ik kan een plaatje selecteren uit de images folder

@edit: ik gebruik versie 1.5.4

Re: Probleem met image tag

Posted: Sat May 02, 2009 9:20 am
by Rolf
Hoi MasterLee

Uit de help-functie:
(optional) dir - The name of a directory (relative to the uploads directory, from which to select image files. If not specified, the uploads directory will be used.

Example: use images from the uploads/images directory.

{content_image block='image1' dir='images'}
Groet, Rolf   ;)

Re: Probleem met image tag

Posted: Sat May 02, 2009 9:27 am
by deactivated010521
----------