| Author |
Message |
transit Regular


Joined: Jun 01, 2010 Posts: 66
|
Posted:
Mon Jul 19, 2010 8:36 pm |
|
I took a look at the banner(advertising) module and I don't think it will work for me (unless I am wrong!)
What I need is I am creating about 10 different banners with different customer quotes in each one, and I need to randomly pull one on each page load.
See my site here:
I believe the advertising module puts the banners kind of like a block center up etc however I need some kind of JS script or the like coded directly into my theme.php. Anyone know of anything or is currently using such a script!
Any help would be greatly appreciated! |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Tue Jul 20, 2010 11:36 pm |
|
There are some random image php scripts around I've used not a bad way. Just use so it reads all the images from a directory. Use the script as the img src='./cached/random_image.php'
|
|
|
|
 |
fkelly Moderator

Joined: Aug 30, 2005 Posts: 3136 Location: near Albany NY
|
Posted:
Wed Jul 21, 2010 7:20 am |
|
If you create a number of different banners in the advertising module and activate them all ... set the purchased impressions to unlimited too ... the module will display them "randomly" as the pages load. There is documentation in the RNWiki I believe. Yup:
|
|
|
|
 |
|
|
|
|