Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

lost in scenario with subcategories


Reply

573 Views

Avatar
servalman

4 July 2011 at 2:24am Community Member, 211 Posts

Hello

I'm trying for now a bit of time to set up the following scenario :

A category can have many works and a work can have many file attached to it so it would look like this :

Cat A
work 01 > file 01, file 02, file 03...
work 02 > file 03, file 04, file 05...
Cat B
work 03 > file 06, file 07, file 08...
work 03 > file 09, file 10, file 11...

and so on

I'm able to set up some disjoint bit of the project like using model admin to create a category and attaching several works to it
Or using DOM to create a work and attaching several files to it

I'm unable to relate the all thing together, I'm very fustrated now

The first thing I want to know is wich part of the project should be depending on ModelAdmin and wich part on DOM

Thanks