This project is read-only.

Orchard Module / ContentPart Database Records

Topics: Writing modules
Nov 4, 2013 at 5:01 PM
Hopefully this is the right area.

I want to create a module / ContentPart that links to multiple records. For example.

Lets say I create a contentpart called Exam and Exam can have multiple questions. I want to be able to add Exam to a contentType. When I create or edit a piece of content I want the view to display the questions I've already entered if any and allow me to add questions.

The full answer I imagine might be a little long but if someone can point me in the right direction or recommend some documentation Ill happily go searching. Google hasn't provide me a lot of success.
Nov 4, 2013 at 7:39 PM
Nov 5, 2013 at 4:03 PM
Thanks a lot. I have been through the documentation and though very interesting isn't quite what I was after. I think my wording may be off with my question. I basically want to create a part that allows me to enter a list of items. Does this make sense?

Nov 6, 2013 at 6:14 AM
Sure, and that is exactly what the article explains. You might also want to try a content picker field.