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.

Gallery pagination not output

October 29, 2012 1:16pm

Subscribe [1]
  • #1 / Oct 29, 2012 1:16pm

    Russ Back's avatar

    Russ Back

    142 posts

    Hi guys

    Am working on a legacy 1.7.3 build and looking at the galleries module. I need to pagination gallery entries and so have the following:

    {exp:gallery:entries 
     gallery="{gallery_name}" 
     limit="4"
     log_views="off"
     paginate="bottom"
     }
     
     {entries}
     
      {row_start}{/row_start}
      
       {row}
        <article class="panel panel-gallery panel-album-category">
            <a href="http://{id_path=%27gallery/entry%27}" class="link-photo">_         {exp:imgsizer:size src="{image_url}" width="260" height="260"}_       {sized}_      {/exp:imgsizer:size}_        </a>
            <div class="photo-details cf">
             <h2 class="headline">{title}</h2>
             <a href="http://{id_path=%27gallery/entry%27}" class="cta"><span></span>View</a>
            </div>
           </article>       
       {/row}
      
      {row_end}{/row_end}
      
     {/entries}
     
     {paginate}
     
      <div class="container">
          <div class="pagination cf">
           {pagination_links}
          </div>
      </div>
      
     {/paginate}
          
    {/exp:gallery:entries}

    I’ve removed the rows and columns as before I had rows=“100”, cols=“1”, and it seems that whatever rows, cols and limit I use, I get nothing between the {paginate}{/paginate} pair.

    Am I missing something obvious?

    Thanks

  • #2 / Oct 29, 2012 1:43pm

    Russ Back's avatar

    Russ Back

    142 posts

    Sorry, please ignore/delete this - now resolved!

  • #3 / Oct 30, 2012 5:22pm

    Kevin Smith's avatar

    Kevin Smith

    4784 posts

    Glad to see you resolved it, Russ! Have a good one.

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

ExpressionEngine News!

#eecms, #events, #releases