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.

General Questions /

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

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

Simple Javascript Image/Banner Rotator


Go to End
Reply


11 Posts   2989 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
arthurdent

Community Member, 184 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:
[url]http://www.isa-umami.nl[/url]: this is the homepage with two rotating banners
[url]http://www.isa-umami.nl/rotatorholder/partners/[/url]: this is the actual RotatorPage with one of the banners.

Go to Top