When I use {content_image block='image1'} in the default template it seems to break every time. Am I missing something here or did I just find a bug? Is there a fix for this problem? Thank You!
Fatal error: Call to undefined function _smarty_cms_function_content_return() in /homepages/6/d281311174/htdocs/prestelinteriors/plugins/function.content_image.php on line 35
CMSMS: 1.5.3
PHP 5.2.8
MYSQL 5.0.67
[solved] {content_image} breaks on default Template
-
- Forum Members
- Posts: 27
- Joined: Fri Dec 26, 2008 9:29 pm
[solved] {content_image} breaks on default Template
Last edited by 180michael on Fri Apr 03, 2009 5:24 pm, edited 1 time in total.
Re: {content_image} breaks on default Template
Just curiously, is the {content_image} in your template BEFORE the regular {content} tag? We might have stumbled on a bug here.
Thanks!
Thanks!
-
- Forum Members
- Posts: 27
- Joined: Fri Dec 26, 2008 9:29 pm
Re: {content_image} breaks on default Template
AW! No, I didn't place the {content} tag in the template to begin with. It's a static page per design. Is it bad though that {content_image} can't be used without the {content} tag?
It works now as expected.
It works now as expected.
Re: {content_image} breaks on default Template
1.x still has a limitation where {content} must be in the templates. It's just legacy at this point -- the template stuff needs to be rewritten to handle that better.
Thanks for the good post, though. Made it easy to track it down.
Thanks for the good post, though. Made it easy to track it down.
-
- Forum Members
- Posts: 27
- Joined: Fri Dec 26, 2008 9:29 pm
Re: {content_image} breaks on default Template
No problem. Thank you for your help!