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..
24 April 2010 at 11:31am
(Last edited: 24 April 2010 11:31am),
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).