Hi, need a push to the right direction:
I have a folder for all events with subfolders for categories of events (inhouse events, fairs, workshops, ...). For a global overview page I don’t know how to realize this listing:
- All events, fairs, workshops and so on should be listed in order of their date (yes, it’s possible with Ditto)
- The listing should have delimiters/headings for month
- Month should only be visible if not empty (e.g. if any event starts in this month)
Btw: each category of events has its own overview page realized with Ditto.
Example:
- - - - -
Subfolder: Inhouse events == overview listing for Inhouse events
- event 1 in march
- event 2 in may
Subfolder: Fairs == overview listing for fairs
- fair 1 in january
- fair 2 in march
Subfolder: Workshops == overview listing for workshops
- workshop 1 in may
- workshop 2 in july
Result I need at global overview page:
January
- fair 1
March
- event 1
- fair 2
May
- event 2
- workshop 1
July
- workshop 2
- - - - -
Can anybody help with a tip? Multiple Ditto calls for each month with an empty result for "no documents found"? But how realizing the "month" delimiter/heading? Or is there an other way?
Thanks for ideas.
Ok, the subheadings can be realized via the outer template. But then I need 12 Ditto calls (1 for each month).
Is there a better solution? Maybe I doesn’t see the wood for the trees.
Nice idea. But I should try this with an inner Ditto call. I need more than links for the inner event listing. The inner listing needs Ditto template definitions (date, text and a link).
Is there anybody out there who knows wether I can nest Ditto calls, e.g. a Ditto call within a Ditto template?