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_marker} ?

May 24, 2013 8:54am

Subscribe [1]
  • #1 / May 24, 2013 8:54am

    ColdHands

    10 posts

    EE: v2.6.1
    Xtra Addons: Fieldtypes: Matrix, Wygwam

    I’m having an extremely difficult time with paginating my pages.

    I had no problem paginating a list of entries, but when trying to paginate through the detail pages, it’s been impossible.

    The closest I’ve been able to get is a {pagination_marker} tab to display (only when opting for paginate=“inline”) where pagination is supposed to be.

    {exp:channel:entries channel="work|blog" orderby="date" sort="desc" status="not closed" paginate="inline"}
    
    <div id="content">
    
    <div class="twelveCol">
    
     {full_size_images}
      {full-image}
     {/full_size_images}
    
     <div class="threeCol_group">
    
      <div class="twoCol_group">
       <h2>{title}</h2>
    <p>   {categories show="not 6|18" style="linear"}<br />
       <ul><br />
        <li><br />
         {if "{channel_name}" == "blog"}<br />
          </p><h3><a href="http://{path=pages/blog}">{category_name}</a></h3>
    <p>     {if:else}<br />
          </p><h3><a href="http://{path=pages/work}">{category_name}</a></h3>
    <p>     {/if}<br />
        </li><br />
       </ul><br />
       {/categories}<br />
      </div><!-- END .twoCol_group --></p>
    
    <p>  <div class="social"><br />
       <ul><br />
        <li><a href="http://www.facebook.com" target="_blank" rel="noopener">{site_url}images/global/icon_facebook.png</a></li><br />
        <li><a href="http://{permalink=pages/share}">{site_url}images/global/icon_email.png</a></li><br />
       </ul><br />
      </p><h2>SHARE</h2>
    <p>  </div><!-- END .social --></p>
    
    <p>  <div class="fullContent" ><br />
       <div class="fourCol"><br />
        {main_content}<br />
       </div><!--END .fourCol --></p>
    
    <p>   <div class="fourCol"><br />
        {main_content_col2}<br />
       </div><!--END .fourCol --><br />
      </div><!--END.fullContent"--><br />
     </div><!--END .threeColGroup--></p>
    
    <p> <div class="fourCol"><br />
      </p><h2> </h2>
    <p> </div><!--END .fourCol --></p>
    
    <p>{paginate}</p>
    
    <p>{if previous_page}<br />
    <a href="http://{auto_path}class=prev">Previous Page</a>  <br />
    {/if}</p>
    
    <p>{if {current_page} != '1'   AND  "{current_page}" != "{total_pages}"  } | {/if}</p>
    
    <p>{if next_page}<br />
    <a href="http://{auto_path}class=next">Next Page</a><br />
    {/if}</p>
    
    <p>{/paginate} </p>
    
    <p></div><!-- END .twelveCol --></p>
    
    <p></div><!-- END #Content --></p>
    
    <p>{/exp:channel:entries}

    I can’t find only difference between the list page and the detail page since they are both pulling from the same channel, just some extra fields are displaying.

    Anyone else have this problem? Suggestions?

    Thanks

  • #2 / May 25, 2013 3:48pm

    ColdHands

    10 posts

    In trying to figure it out, it seems to have something to do with the page being dynamic? If I set the page to dynamic=“no”, the pagination shows up perfect.

    Purchased AB pagination, hoping that would help. nope.

  • #3 / Jun 25, 2013 11:47pm

    ColdHands

    10 posts

    Turns out I was using the wrong pagination. I should have been using next/previous entry instead of pagination.

    Now I guess I have to read the difference between the two.

    Works now. Thanks.

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

ExpressionEngine News!

#eecms, #events, #releases