WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Pagination of Album (10 posts)

  1. paradiselost79
    Member
    Posted 11 months 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?

    http://wordpress.org/plugins/nextgen-gallery/

  2. tizz
    Member
    Posted 11 months 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
    Member
    Posted 11 months 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 ?>
    </div>

    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
    Member
    Posted 11 months 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
    Member
    Posted 11 months 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
    Member
    Posted 11 months 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
    Member
    Posted 11 months 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

    thanks

  8. Jacotheron
    Member
    Posted 11 months ago #

  9. photocrati
    Member
    Plugin Author

    Posted 11 months 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
    Member
    Posted 8 months 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!

Reply

You must log in to post.

About this Plugin

About this Topic