Hi there,
I wonder if anybody can help. I have created a calendar that displays entries from a very simple events weblog. It seems to be (mostly) working as it should. However, for some reason events from the 1st-9th March 2010 + 1st-4th Feburary 2010 don’t seem to be displayed in the calendar.
Events have unique url titles, but on some events the titles are duplicated.
This same thing isn’t happening with events from any other month (as originally I thought it could be to do with events not displaying before the 10th).
I did a test weblog:entries loop to see all the events for March, and events on the 1st, up to the 9th were outputted. Also, these events didn’t seem to have any anomolies (eg: closed status / incorrect date formatting etc…)
Not sure why this is happening. My code is as follows:
{exp:weblog:calendar switch="calendarToday|calendarCell" weblog="event" status="open" show_future_entries="yes" start_day="sunday" leading_zeroes="yes"}
<table class="calendarBG" border="0" cellpadding="6" cellspacing="1" summary="My Calendar">
<tr class="calendarHeader">
<th><div class="calendarMonthLinks"><a href="http://{previous_path=weblog/index}"><<</a></div></th>
<th colspan="5">{date format="%F %Y"}</th>
<th><div class="calendarMonthLinks"><a href="http://{next_path=weblog/index}class=calendarMonthLinks">>></a></div></th>
</tr>
<tr>
{calendar_heading}
<td class="calendarDayHeading">{lang:weekday_abrev}</td>
{/calendar_heading}
</tr>
{calendar_rows}
{row_start}<tr>{/row_start}
{if entries}
{entries}
<td class='{switch}' align='center'>{day_number}
{title}
{url_title}
{entry_date format="%D, %F %d, %Y - %g:%i:%s"}</td>
{/entries}
{/if}
{if not_entries}
<td class='{switch}' align='center'>{day_number}</td>
{/if}
{if blank}
<td class='calendarBlank'>{day_number}</td>
{/if}
{row_end}</tr>{/row_end}
{/calendar_rows}
</table>
{/exp:weblog:calendar}Any ideas? Help / suggestions would be greatly appreciated.
Thanks,
Jack
Web designer - Cog Design.