Please help - Ad/File image rotator?

6 posts by 2 authors in: Forums > CMS Builder
Last Post: February 22, 2008   (RSS)

By Codee - February 16, 2008 - edited: February 17, 2008

We're using CMS Builder like AutoManager and it's really coming along. My client wants a banner rotating at the top of the home page that shows thumbnails of the current inventory and be clickable.

Anyone else already done this?

Thanks in advance!

Terry

Re: [equinox69] Please help - Ad/File image rotator?

By Dave - February 18, 2008

Hi Terry,

To do that you'd basically just use a list viewer, and then set these options:

$options['perPage'] = '1'; // only show 1 banner
$options['pageNum'] = '1'; // show first result
$options['where'] = '1'; // ignore keyword searches
$options['orderBy'] = 'RAND()'; // sort randomly

That will list all the records, sort them randomly, and show you the first one.

Hope that helps! Let me know if you have any other questions!
Dave Edis - Senior Developer
interactivetools.com

Re: [equinox69] Please help - Ad/File image rotator?

By Dave - February 21, 2008

You'd have 2 list viewers on the same page, and you would update the options in STEP 1.

Hope that helps, let me know if I can provide more details.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Please help - Ad/File image rotator?

By Codee - February 22, 2008

I do need some assistance. I'm missing something simple to you. I sent you a separate email on this.

Re: [equinox69] Please help - Ad/File image rotator?

By Dave - February 22, 2008

Hi Terry,

Ok, I've responded back to you via email. Feel free to post back here with any followup questions or via email if there is any private links or details.
Dave Edis - Senior Developer
interactivetools.com