I need to group entries by date (day). And I don’t think {date_heading} will work for me. I had to build slideshow slides out of the entries and the {switch} and {count} variables don’t work when {date_heading} is used.
Here’s what it looks like:
{exp:channel:entries channel="events" start_on="{current_time format='%Y-%m-%d 00:00'}" show_future_entries="yes" sort="asc" limit="9999" dynamic="no"}
{switch='<ul class="slide">|||||||||'}
<li{switch=' class="first"||||'}>
<a{if segment_2 == url_title} class="active"{/if} href="{title_permalink='events/index'}" title="{title}">
<h5>{entry_date format="%D. %F"}</h5>
<p> </p><h6>{entry_date format="%j"}</h6>
<p> </a><br />
</li><br />
{if count == total_results}<br />
</ul><br />
{if:else}<br />
{switch='|||||||||</ul>'}<br />
{/if}<br />
{/exp:channel:entries}Any recommendations? Also—what would the link look like to the page with the date passed in the URL for displaying entries for that day?
Thank you for your help.