Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Constant DataObject

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
Go to End
Author Topic: 848 Views
  • Krigu
    Community Member
    7 Posts

    Constant DataObject Link to this post


    I'm new to SilverStripe and I'm trying to create a Page, which holds several information about different companies. However, the companies are devided into 4 different categories. I would like to add a select box to my form (backend), where you can choose one of the 4 categories.

    My idea is to create a DataObject "category" and link the page "company" with it. Now, I don't know where to insert the categories then..

    Does anyone has a suggestion?


  • Willr
    Forum Moderator
    5497 Posts

    Re: Constant DataObject Link to this post

    Have a read of tutorial 5. It provides some examples of dealing with objects. By the sounds of it you might need a tablefield for managing categories (or you could use a ModelAdmin instance but that could be over the top).


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.