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.

Help with Pagination

May 01, 2011 5:08pm

Subscribe [2]
  • #1 / May 01, 2011 5:08pm

    akrug23

    30 posts

    I am new to EE and I am trying to list out a list of entries from a channel. The design calls for the pagination to be both top and bottom but outside of the div tag that is wrapping the list of entries. Is there a way to do the pagination outside of the channel tag pair.

    Also there is a image that is dividing the entries but I don’t need it to show after the last one. It has to be dynamic enough that if there is only 2 entries instead of 4 it is not shown after the second one. Is there a way to do that?

    Here is a basic layout in case that did not make sense.

    <div id="page">Page 1 of 2</div>
    
    <div id="project_background">
       
       {exp:channel:entries channel="projects" limit="4" paginate="both"}
    
       <div class="project">
          Text stuff here
       </div>
       
       thinline.png
       
       <div class="project">
          Text stuff here
       </div>
       
       thinline.png   
       
       <div class="project">
          Text stuff here
       </div>
       
       thinline.png   
       
       <div class="project">
          Text stuff here
       </div>
    
       {/exp:channel:entries}
    
    </div>
    <div id="page">Page 1 of 2</div>

    Any help would be great.

  • #2 / May 02, 2011 6:23pm

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, akrug23!

    Have you seen: EEWiki:// Hiding Pagination

    Do the examples posted here help?

  • #3 / May 03, 2011 7:02am

    akrug23

    30 posts

    Thanks. That helped.

  • #4 / May 03, 2011 7:49am

    Sue Crocker

    26054 posts

    Glad to hear it. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases