Question:
I have a page that’s listing all the entries from some particular month. The URL is of the form “/index.php/weblog/month/2005/03/”. I want to have links on that page that would point directly to the “February” and “April” versions of the month listing. How can I accomplish this?
Answer:
{exp:weblog:calendar weblog="yourweblogname"}
<p>
<a href="{previous_path=weblog/month}">{previous_date format="%F %Y"}</a> |
<a href="{next_path=weblog/month}">{next_date format="%F %Y"}</a>
</p>
{/exp:weblog:calendar}
Category:Templates Category:Archives
