I’m sure I’m doing something wrong. Perhaps the way I implemented the calender was a mistake but either way I need to fix.
Here’s the problem:
In developing the calendar I used the entry_date and expiration_date to hold the dates of the event. So the following…
{entry_date format='%n/%j'}-{expiration_date format='%n/%j'}...would show something like “9/12-9/24”.
That works fine except that when I limited the dates to be show using the start_on parameter for the entries tag. So as soon as current_time is beyond the entry_date then the entry no longer shows. So to correct that I removed the start_on parameter from the entries tag and used a conditional to limit what shows.
{if {entry_date} > {current_time} OR {expiration_date} > {current_time}}That works well too except now the date_heading tag pair doesn’t show in the first instance since the first entry is before the current_time. Is there a way for me to get around this? I hope I made sense.
PS: Should note that if the event didn’t span multiple days then expiration_date was left empty.