ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Pagination to previous/next entries on weblog entry page

August 02, 2010 2:20pm

Subscribe [1]
  • #1 / Aug 02, 2010 2:20pm

    dlewand691

    10 posts

    This is probably another ‘duh’ question, but I’m trying to include a previous/next link on my weblog entry page that would like to the previous/next entry in the weblog. This is inside the entry itself, not on the weblog.

    An example entry I’m trying to add it to is here:
    http://www.paul-rand.com/index.php/site/books-by-Rand/thoughts_on_design/

    The code I’m using is:

    {exp:weblog:entries weblog="booksByRand" paginate="top"} 
    
    <h8>Books & Articles</h8>
    {paginate}
    <div class="galleryNavigation">
    <a href="http://{path=site/books}" class="arrowBack">Back to Index</a>
    
    {if previous_page}
    <a href="http://{auto_path}" class="arrowLeft">Previous</a>
    {/if}
    
    {if next_page}
    <a href="http://{auto_path}" class="arrowRight">Next</a>
    {/if}
    </div>
    {/paginate}

    Thanks for any help!
    Daniel

  • #2 / Aug 02, 2010 2:40pm

    ender

    1644 posts

    pagination won’t help you do this, I think you’re looking for this instead.

  • #3 / Aug 02, 2010 2:56pm

    dlewand691

    10 posts

    Will that work with EE1.6?

  • #4 / Aug 03, 2010 1:14pm

    ender

    1644 posts

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases