 |

equinox69
User
Feb 16, 2008, 10:41 AM
Post #1 of 6
(435 views)
Shortcut
|
Please help - Ad/File image rotator?
|
Can't Post
|
|
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
(This post was edited by equinox69 on Feb 17, 2008, 1:33 AM)
|
|
|  |
 |

Dave
Staff
/ Moderator

Feb 18, 2008, 10:23 AM
Post #2 of 6
(414 views)
Shortcut
|
|
Re: [equinox69] Please help - Ad/File image rotator?
[In reply to]
|
Can't Post
|
|
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
|
|
|  |
 |

equinox69
User
Feb 20, 2008, 3:01 PM
Post #3 of 6
(387 views)
Shortcut
|
Re: [Dave] Please help - Ad/File image rotator?
[In reply to]
|
Can't Post
|
|
Dave, I'm struggling making this work. So, do I use the code from the same list viewer used to make the listings appear normally and save as a new file name, then place that file code on a page where I want the banner to appear? And as far as "setting the list viewer options" - is that in section 1, section 2 or section 3 of the list viewer code. I really am a neophyte when it comes to scripts and coding...except I'm really good with html and seo work.
|
|
|  |
 |

Dave
Staff
/ Moderator

Feb 21, 2008, 1:17 PM
Post #4 of 6
(363 views)
Shortcut
|
|
Re: [equinox69] Please help - Ad/File image rotator?
[In reply to]
|
Can't Post
|
|
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
|
|
|  |
 |

equinox69
User
Feb 21, 2008, 10:58 PM
Post #5 of 6
(358 views)
Shortcut
|
|
Re: [Dave] Please help - Ad/File image rotator?
[In reply to]
|
Can't Post
|
|
I do need some assistance. I'm missing something simple to you. I sent you a separate email on this.
|
|
|  |
 |

Dave
Staff
/ Moderator

Feb 22, 2008, 9:55 AM
Post #6 of 6
(352 views)
Shortcut
|
|
Re: [equinox69] Please help - Ad/File image rotator?
[In reply to]
|
Can't Post
|
|
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
|
|
|  |
|