Jump to:

5539 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Ability to multi-select pages for displaying in carousel

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

Page: 1
Go to End
Author Topic: 836 Views
  • heidgert
    Community Member
    16 Posts

    Ability to multi-select pages for displaying in carousel Link to this post

    I'm building a jQuery carousel that will show slides with an image and text on my site. No problem there.

    I would like to make the carousel as dynamic and as easy to change as possible. I have the content and pictures stored within my pages on various locations on the site already so I don't want to duplicate the contents.

    I want to set up a has_many relation on my page class that refers to SiteTree objects (let's call it CarouselPages). This isn't a problem either.

    What I want to have is a control in the CMS where I can point to all my pages that I would like to include in my carousel and that this selection should be saved to my CarouselPages.

    I have been considering the HasManyComplexTableField but can also recall having seen a variant of the TreeDropdownField that could display checkboxes.

    Has anyone else done something similar? What's your opinion?

Page: 1
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.