This project is read-only.

List to Grid

Topics: Customizing Orchard, General, Writing modules
Dec 21, 2011 at 1:56 AM

I need to morph a List of Content Types to a grid. Specifically, I have defined a Course type that has:
Title, Body. Instructor, Cost, BeginDate, EndDate, Address1, Address2, City, State, Zip, Active, Full, etc.

I am using Mechanic module and have linked State to the State content type so it appears as a dropdown in the edit Course page.

I need courses to show up on my view-courses page in tabular form
<header>Title, Location, Cost, Purchase (Checkbox)</header>
<row><cell>Programming Orchard<cell><cell>Louisville, KY 40525</cell><cell>$5</cell><cell>CHECKBOX</cell></row>
The Location column would be formatted like below with the Address fields omitted
City, State Zip

I only want to show Active courses that are not Full on this specific page. Also need this view of the list to be pageable with a user-selectable page size.

I need a button Proceed To Checkout that can collect all course IDs selected and send them to a Checkout page.

Am I asking too much from content types and should be creating my own custom ones?
I know it's a big topic but I'm under a big deadline. Also hoping there may be a module out there that can help with this.