Jump to:

23375 Posts in 18175 Topics by 2866 members

General Questions

SilverStripe Forums » General Questions » Simple Javascript Image/Banner Rotator

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

Page: 1 2
Go to End
Author Topic: 2671 Views
  • Felicitas
    Avatar
    Community Member
    16 Posts

    Re: Simple Javascript Image/Banner Rotator Link to this post

    @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.

  • arthurdent
    Avatar
    Community Member
    153 Posts

    Re: Simple Javascript Image/Banner Rotator Link to this post

    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?

  • Felicitas
    Avatar
    Community Member
    16 Posts

    Re: Simple Javascript Image/Banner Rotator Link to this post

    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.

    2671 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.