This project is read-only.

Combining different content types in a list

Topics: Customizing Orchard, General, Writing modules
Mar 12, 2011 at 8:46 PM

I have two own content types News and Events

Is it possible to combine both of them into the same list? I would like to display that list as a main source of information on the home page

The second question is is it possible to add rss support for that list?


Mar 14, 2011 at 11:21 PM

It is possible, but if you were planning on using the Lists feature that comes with Orchard you need to know that any item can only be in only one container (and lists are containers) at a time. For the scenario that you describe, lists indeed seem to be a bad choice. Instead, you could create a controller action that will query the content manager and return a specific view.