I’m following the example code here for pagination:
http://ellislab.com/expressionengine/user-guide/modules/channel/pagination_page.html
However, I’m not able to display anything. My overall goal is to display one entry at a time, with pagination displayed like so:
< Previous > 1 of 36 < Next >
I tried some of the examples from the link above with no results and decided to try single variable to see if anything would display.
Here is the code I’m using:
{exp:channel:entries channel="session_1" limit="1" paginate="top"}
{paginate}
<strong>{total_pages}</strong>
{/paginate}
{/exp:channel:entries}I have two posts in the session1 channel.
I’m on EE v2.2.2 - Build: date 20110801