h1. ED pagination for ExpressionEngine 2.x
A more friendly approach to EE channel pagination.
This feature is now available as part of EE2.3 and works almost identically. See "the documentation":http://expressionengine.com/user_guide/modules/channel/pagination_page.html#pagination-links for more information.
h2. Installation
h2. Usage
All the "original pagination methods and malarkey":http://expressionengine.com/user_guide/modules/channel/pagination_page.html are supported, but in addition you may use the @ed_pages@ tag pair.
h3. Variables:
- @href@ the url to the paginated page
- @cur@ a string containing 'cur' if the page in the loop is the current one
- @page_no@ an integer of the current page int the loop
- @ed_first_poge_href@ the url to the first paginated page
- @ed_last_page_href@ the url to the last paginated page
h3. Example template usage:
bc.. {paginate}
{if "{total_pages}" > "1"}
Page {current_page} of {total_pages}
- First page {if previous_page}
- < {/if} {ed_pages}
- {page_no} {/ed_pages} {if next_page}
- > {/if}
- Last page
{/paginate}
p. Which would output:
bc..
Page 2 of 4
p. That's based on there being a limit of 5 in your entries tag.