Multiple Options for Date Settings, Item Schema
-
For my application, I seem to need several Item Schemas and associated customized Date Settings. Here’s what I’m trying to solve:
For the Home Page and Upcoming Events, I want a certain order: Title, Excerpt, Location, and Date, as follows (with the date being only month/day: eg: “Nov 11”:
<%child% class="event_item %class%" data-color="%color%"> <a href="%event_link%"> <strong>%event_title%</strong> </a> <em>%event_excerpt% %event_location% </em> %event_date%</%child%>
Second, I’d like a different arrangement on another web page, for copying/pasting into an email, with the order switched to Date, Location, Title, and Excerpt, such as:
<%child% class="event_item %class%" data-color="%color%"> %event_date% %event_location% <a href="%event_link%"> <strong>%event_title%</strong> </a> <em>%event_excerpt% </em> </%child%>
Third, for the Past Events (my archives), I’d like to expand the Date to include the year (eg: to “Nov 11, 2013”) and put the Item Schema fields in a different order, such as:
<%child% class="event_item %class%" data-color="%color%"> %event_date% %event_location% <a href="%event_link%"> <strong>%event_title%</strong> </a> <em>%event_excerpt% </em> </%child%>
To me, it looks as though I should install Event Post three times (labeled Events_List_A, Events_List_B, and Events_List_C), and then I can call the particular one that I need to format the page I’m rendering. But is there a built-in way to have differing Event renderings on different pages? Would it be difficult to implement such a multi-rendering method in an upcoming release? How would you go about doing this?
- The topic ‘Multiple Options for Date Settings, Item Schema’ is closed to new replies.