I'm trying to implement Image_Rotator 1.4 on a site under development. The initial build (before moving my HTML sample pages to the CMS) had a javascript image rotation on the home page (http://www.blumonkee.com/clients/ixlbrick/cms/). The client would like the ability to add new images through the CMS, so I turned to the Forge and found the image rotator.
I downloaded, unzipped and installed Image_Rotator (and Random_Image, which is giving me a similar problem). When I place the tag in a {content block}, I get one of the following (it varies):
No image at all,
or
The following error message:
string(219) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: image_rotator folder="uploads/images/pho" speed="3" (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
I tried changing the permissions for function.image_rotator.php, but no luck. I've installed several other modules and tags recently and haven't had any problems with them.
Here's my config info:
CMS Made Simple 1.2, PHP 4.3.9, MySQL 4.1.20
PS - I'm starting this as a new topic since the one I found in the forum was from July, but I have essentially the same problem as this poster:
http://forum.cmsmadesimple.org/index.ph ... l#msg66764
Image rotator 1.4 not showing picture and/or giving error message [Solved]
Image rotator 1.4 not showing picture and/or giving error message [Solved]
Last edited by Anonymous on Wed Dec 05, 2007 9:30 pm, edited 1 time in total.
Re: Image rotator 1.4 not showing picture and/or giving error message
Upgrade to latest 1.2.2 as some issues with UDT's have been fixed there.
Ronny
Ronny
Re: Image rotator 1.4 not showing picture and/or giving error message
No joy - I updated and reinstalled the tags, but I get the same issue. Here's the page I'm testing it on:
http://www.blumonkee.com/clients/ixlbri ... =slideshow
And here's the code I've dropped in:
{image_rotator folder="uploads/images/pho" speed="3"}
I've also tried the basic tag, in case the parameters were to blame:
{image_rotator}
http://www.blumonkee.com/clients/ixlbri ... =slideshow
And here's the code I've dropped in:
{image_rotator folder="uploads/images/pho" speed="3"}
I've also tried the basic tag, in case the parameters were to blame:
{image_rotator}
Re: Image rotator 1.4 not showing picture and/or giving error message
Why did you wrap it inside . Try calling without any wrapping, check using the HTML-button.
Ronny
Ronny
Re: Image rotator 1.4 not showing picture and/or giving error message
Okay - that was a rookie mistake! I'd copied the tag snippet from the Help page, and it's wrapped in tags! When I pasted it into TinyMCE it kept the tags. Now that I removed them it works just fine.
At least I upgraded my CMS. Thanks for the help RonnyK!
At least I upgraded my CMS. Thanks for the help RonnyK!


