random image module/plugin

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
streever

random image module/plugin

Post 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?
cyberman

Re: random image module/plugin

Post 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

Code: Select all

{random_image dir="something"}
in your template. dir is the directory for rotating images.
streever

Re: random image module/plugin

Post 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?
cyberman

Re: random image module/plugin

Post by cyberman »

Which CMSms version you are using ?
streever

Re: random image module/plugin

Post by streever »

latest stable: Version 0.12.2

i haven't put in today's security update yet, either!
cyberman

Re: random image module/plugin

Post by cyberman »

Have you also tried the newest random_image plugin from today?
streever

Re: random image module/plugin

Post by streever »

i will try! thanks again cyberman, i appreciate all of your help.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: random image module/plugin

Post by Dr.CSS »

did you try taking out....

{random_image dir="/images/billboards/"}  ?

{random image dir="/images/billboards/"}

  mark
streever

Re: random image module/plugin

Post by streever »

yea, same problem still...!
cyberman

Re: random image module/plugin

Post by cyberman »

Which CMSms version you are using?
Locked

Return to “CMSMS Core”