There appears to be a bug with pagination. When using Method 1 from the user guide it does not create the correct page links when paginating channel entries if the year and month are in the url.
For example the url http://www.mysite.com/newsletter/2010/08
This will produce the following pagination when using Method 1:
The first part of the pagination output is correct (Page 1 of 2 pages) but the second part is incorrect. Even though you are on page 1, the pagination indicates you are on page 2 (no hyperlink). The “<” and “1” are both hyperlinked to page 1.
Pagination (Method 1) works perfectly when removing the Year/Month from the URL
Method 1 from User Guide (does NOT work):
{paginate}
Page {current_page} of {total_pages} pages {pagination_links}
{/paginate}I am using EE 2.1 Build 20100810
Not sure if this is related to bug 13106 (Resolved).
If using Method 2, the previous and next links work perfectly.
Method 2 from User Guide (works):
{paginate}
{if previous_page}
<a href="http://{auto_path}">Previous Page</a>
{/if}
{if next_page}
<a href="http://{auto_path}">Next Page</a>
{/if}
{/paginate}