Custom Module with Complex Modle

Posted by Community Admin on 04-Aug-2018 22:55

Custom Module with Complex Modle

All Replies

Posted by Community Admin on 15-Jul-2012 00:00

Typo: Custom Module with Complex Module

Hey everyone, I have a (semi) noob question here - Is it possible to manage multiple Modules from one custom module? A module I'm building has a Class that extends Content, ILocatable and a few other classes that extend IDataItem.  I have the Fluent definitions for the relationships and the Provide/Manager setup with CRUD methods for each of the types.  I haven't gotten to a point to thoroughly test it yet, but I wanted to know if this would be a possibility and if there would be a recommended way to go about it. 

Here's an idea of what the Model looks like:
* Contest (Content Item)
    * Contest Entry (IDataItem)
        * Contest Entry Vote (IDataItem)
* Contest Winner (IdataItem)

Contest has the following as Children:
* Contest Entry (1-to-many)
* Contest Winner (1-to-many) (Multiple levels of "winning"

The Contest entry has Contest Entry Votes as a child/property with a (1-to-many) relationship.

Also I would like to utilize the "Action Menu" to view/modify the related items eg View Contest Entries.

Any help would be most appreciated.

-- Micah


 

This thread is closed