NextGEN Gallery
Pagination of Album (10 posts)

  1. paradiselost79
    Posted 2 years ago #

    I posted my Album on a Gallery page, for a family website I am making. I have multiple galleries in that album, I have one album with close to 100 galleries. On the current page all the galleries load on one page. I just want to paginate them so they all do not show at once. Ideas?


  2. tizz
    Posted 2 years ago #

    Currently there's no pagination for the album. There's an ajax_pagination that works well for galleries, and it should be implemented for albums too.
    I'm not a coder, but now looking at the files maybe I've found a solution.
    Let me test it, or everyone is invited because I think it's possible.

  3. tizz
    Posted 2 years ago #

    Well, I think that the display pagination code is this

    <?php if ($pagination): ?>
    	<!-- Pagination -->
    	<?php echo $pagination ?>
    	<?php else: ?>
    	<div class="ngg-clear"></div>
    	<?php endif ?>

    and maybe we could implement it in \products\photocrati_nextgen\modules\nextgen_basic_album\templates\extended.php (and/or /compact.php) just at the end of the file.
    But now the problem is that we don't have an option for galleries number per page, so we could at least find a way to call a number in that or another relative code...

  4. paradiselost79
    Posted 2 years ago #

    Yeah, I posted that code, but correct we cannot tell it how many per page. I am going to look at the gallery code where you tell it how many pictures to show.

  5. tizz
    Posted 2 years ago #

    I suppose there isn't a code telling how many pictures because for thumbnails there's a backend option to choose from.
    "We" (or, better, someone with coding skills) have to write it differently, specifying a number that each of us can change at will, hoping and waiting that the plugin developers modify the code for the album option too.
    Maybe someone could ask this as a feature request.

  6. paradiselost79
    Posted 2 years ago #

    I hope so, in one thread it said this used to be a functionality. I would go back if this is true.

  7. dreifus
    Posted 2 years ago #

    is it possible to have pagination using [recent]? or can i display all gallaries images at the same time with pagination?

    i put [recent max=100 images=4] but it doesn´t paginate


  8. Jacotheron
    Posted 2 years ago #

  9. photocrati
    Plugin Author

    Posted 2 years ago #

    Hi all - just wanted to post a note that we're aware of this. I think in 1.9.13 and earlier, you could add Album pagination using a custom field, and we overlooked this. We're looking at how to re-introduce it now, preferably being the normal NG interface and not via shortcode.

    @jacotheron did post a fix in the thread linked above, so you may want to check there.

    But I just wanted to post anyways to let you know we're aware of this and working on it. Thanks. (Erick)

  10. johnwebman
    Posted 2 years ago #

    So has this been fixed yet? I've just downloaded the latest version onto my test machine and I can't see pagination for albums anywhere in the options!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic