I’ve searched through the forum and tried to solve this issue, but I’ve not had any luck.
I’m trying to simply display a list of the current month’s events on a page. When posting events, I give each event an entry date and expiration date.
If I use the following code, the page displays the first month with an event of the entire year only:
{exp:weblog:entries weblog="calendar" show_future_entries="yes" show_expired="yes" sort="asc" dynamic_parameters="weblog" display_by="month" limit="1" orderby="date"}
{date_heading display="monthly"}
<h2>{entry_date format="%F"} Events</h2>
<p> {/date_heading} </p>
<p> </p><h3><a href="http://{title_permalink=calendar/details">{title}</a></h3>
<p> {entry_date format='%D - %F %j,%Y'}<br />
<div class="dotLine"></div><br />
{/exp:weblog:entries}How can I alter this to display only the current month? Thanks for any help.