Jump to:

3460 Posts in 1064 Topics by 739 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Pre-defined elements on a Page

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

Page: 1
Go to End
Author Topic: 595 Views
  • bartvanirsel
    Community Member
    94 Posts

    Pre-defined elements on a Page Link to this post


    I have a question which can be more seen as a system design question for Silerstripe.
    I posted the question in the templates part before but i probably didn't get an answer because it's only partly about templates.

    All the pages in my site contain predefined items. With items i mean content with certain css values or flash in them
    which can not be easiliy administered using tinymce. An item for example can be a full width image with Sifr text on top,
    a flash movie in a flash movie player, 5 images next to each other, one image with text next to it which is Sifred etc.

    All the elements are predefined and i need to be able to order them and administer them when i select the page in Silverstripe.

    Posible solution?
    Should i use Widgets for this? As they are orderable and could contain all the predefined items?
    Is it better to let a page contain sub data model items which are visible in the site tree? (could be re-ordered there)
    Or is the best solution to extend Page and add some kind of options for administiring and reordering the predefined items in there?

    Hope you understand the question; if not let me know!

    Best regards,


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.