From the Archive Month Links Tag page in the EE documentation I have set up my links like this:
<h2><span>News Archives</span></h2>
<p> {exp:channel:month_links channel="news-items" limit="50"}<br />
<a href="http://{path=site/news-archives}">{month}, {year}</a><br />
<br />
{/exp:channel:month_links}On this same page I have my news items appearing using the following code:
{exp:channel:entries
channel="news-items"
disable="categories|category_fields|trackbacks"
dynamic="off"
require_entry="yes"
limit="19"
paginate="bottom"
paginate_base="/news"
}
<li><h3><a href="http://{title_permalink=news-item}">{title}</a></h3>
<p> <input type="hidden" value="" name="news_id">{entry_date format="%n/%j/%Y"} - </li><br />
{paginate}<br />
</ul><br />
</p>
<p> {pagination_links}<br />
{current_page} of {total_pages}<br />
<br />
{/paginate}<br />
{/exp:channel:entries}I have not been able to find in the documentation how to take the month and year values from the path generated by the Archive Month Links tag and use them within my news-items entries so that only the entries from the selected month/year appear.
Could someone point me in the right direction on this?