using code straight from the documentation and no pagination shows up. in the past when it hasn’t worked it was never a big deal, this time however i’d really like to use it.
I have no clue what i’m doing wrong.
{exp:channel:entries channel="1000_albums" paginate="bottom"} {1000_albums_cover_image} {url} {/1000_albums_cover_image}
<h2>{1000_review_album_title}</h2>
<h3>{1000_albums_review_band_name:value}</h3>
<div class="review">
{1000_albums_review_copy}
<div class="rating">{1000_albums_review_rating_1_10:from}/{1000_albums_review_rating_1_10:to}</div>
</div>
{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}
{/exp:channel:entries}
What EE version are you on?
Can you try the detailed pagination tag to see if this works?
{paginate}
{pagination_links}
<ul>
{first_page}
<li><a href="http://{pagination_url}" class="page-first">First Page</a></li>
{/first_page}
{previous_page}
<li><a href="http://{pagination_url}" class="page-previous">Previous Page</a></li>
{/previous_page}
{page}
<li><a href="http://{pagination_url}" class="page-{pagination_page_number} {if current_page}active{/if}">{pagination_page_number}</a></li>
{/page}
{next_page}
<li><a href="http://{pagination_url}" class="page-next">Next Page</a></li>
{/next_page}
{last_page}
<li><a href="http://{pagination_url}" class="page-last">Last Page</a></li>
{/last_page}
</ul>
{/pagination_links}
{/paginate}You can also get a quick working version of this by using the generators in
Templates -> Template GeneratorMake sure to choose “listing for all entries” and “Entry detail page”
Then after their generated, if you go to the index in the new template group, and add a limit=”1” to the channel entries tag, you should have a quick easy example of pagination.
Cheers,
-Tom Jaeger
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.