I'm trying to create a condensed overview of my website content on my homepage. I'd like that page to loop through all sections, in each section looping through the categories that apply to the section, and for each category to pull the title, uri, and excerpt of the newest three entries.
I'm having trouble wrapping my head around how I'd do that.
What I'm after might be seen as:
SECTION CATEGORY 1 [title, description, view category archive] POST 1 [title, excerpt, publication date, view entry] POST 2 [title, excerpt, publication date, view entry] POST 3 [title, excerpt, publication date, view entry] CATEGORY 2 [title, description, view category archive] POST 1 [title, excerpt, publication date, view entry] POST 2 [title, excerpt, publication date, view entry] POST 3 [title, excerpt, publication date, view entry] SECTION 2 CATEGORY 1 [title, description, view category archive] POST 1 [title, excerpt, publication date, view entry] POST 2 [title, excerpt, publication date, view entry] POST 3 [title, excerpt, publication date, view entry]
For the sake of simplicity, all my categories are currently under a 'global' group. They also map pretty much 1:1 to the EntryTypes available in each section. (I'm not entirely convinced I'm using Categories / EntryTypes correctly, given that 1:1 relation... in fact that's another question to ask).