Page 1 of 1
random image module/plugin
Posted: Wed May 10, 2006 2:19 pm
by streever
Hi all,
I am having a problem with a module.
It is the random image which someone had developed. In the documentation for it, it says, "just drop [random image} in your template", but that produces a smarty error.
How do I install this thing?
Re: random image module/plugin
Posted: Wed May 10, 2006 2:28 pm
by cyberman
streever wrote:
It is the random image which someone had developed. In the documentation for it, it says, "just drop [random image} in your template", but that produces a smarty error.
Hmm, perhaps a mistake in docu - you should put this
in your template. dir is the directory for rotating images.
Re: random image module/plugin
Posted: Wed May 10, 2006 6:24 pm
by streever
this is the exact line i have:
{random_image dir="/images/billboards/"}
and this is the error:
Fatal error: Smarty error: [in template:15 line 14]: syntax error: unrecognized tag 'random_image' (Smarty_Compiler.class.php, line 580) in /home/.indigo/streever/boc.355warrenstreet.com/lib/smarty/Smarty.class.php on line 1095
what do you think?
Re: random image module/plugin
Posted: Wed May 10, 2006 6:50 pm
by cyberman
Which CMSms version you are using ?
Re: random image module/plugin
Posted: Wed May 10, 2006 7:31 pm
by streever
latest stable: Version 0.12.2
i haven't put in today's security update yet, either!
Re: random image module/plugin
Posted: Thu May 11, 2006 1:14 pm
by cyberman
Have you also tried the newest random_image plugin from today?
Re: random image module/plugin
Posted: Tue May 16, 2006 1:38 pm
by streever
i will try! thanks again cyberman, i appreciate all of your help.
Re: random image module/plugin
Posted: Tue May 16, 2006 6:00 pm
by Dr.CSS
did you try taking out....
{random_image dir="/images/billboards/"} ?
{random image dir="/images/billboards/"}
mark
Re: random image module/plugin
Posted: Thu May 18, 2006 6:28 pm
by streever
yea, same problem still...!
Re: random image module/plugin
Posted: Fri May 19, 2006 4:42 am
by cyberman
Which CMSms version you are using?