Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Simple Javascript Image/Banner Rotator


Go to End


11 Posts   4862 Views

Avatar
Felicitas

Community Member, 16 Posts

20 October 2011 at 10:32am

@arthurdent: I don't know why you get the errors. This module was not tested on a lot of different sites, but so far it works fine on the sites I made. I posted it just as an example of how I solved the problem of adding a banner rotator...

@Howard: I will make a note in the README file about the DataObjectManager module.

Avatar
mhdesign

Community Member, 216 Posts

20 October 2011 at 10:44am

Thanks for your feedback Felicitas....

Just to confirm; to install imagerotator I:

1. Place the imagerotator folder in the root directory of my site (configure size of banner area).

2. Place the DataObjectManager folder in the root directory of my site.

3. Do a /dev/build/

4. Add imagerotator page and publish.

5. Add sourcecode to page where I want banner to appear.

Or am I missing something?

Avatar
Felicitas

Community Member, 16 Posts

20 October 2011 at 11:05am

Edited: 20/10/2011 11:13am

Yes. You have to add some images (in the tab Slides of the RotatorPage) and publish the RotatorPage.
Then view the sourcecode of this page (in your browser) and copy the code between BEGIN CODE and EINDE CODE and paste it in the TinyMCE editor of another page (use the HTML button)

See for example the following websites:
http://www.isa-umami.nl: this is the homepage with two rotating banners
http://www.isa-umami.nl/rotatorholder/partners/: this is the actual RotatorPage with one of the banners.

Go to Top