• Hello all!
    Hoping someone can give me a hand with something really quickly. I currently have an album with 15 galleries in it. Each gallery has a name and what I’d like to do is have each gallery thumbnail display the current number of images in the that gallery.

    I vaguely remember this being present in previous versions of NGG, but for the life of me can’t seem to figure it out now, with the latest version.

    Any insights would be greatly appreciated!

    Cheers!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes it was present, and from this very last version has disappeared.
    It’s because the second <p> in div.ngg-description isn’t visible anymore, even if <p><strong><?php echo $gallery->counter; ?></strong> <?php _e('Photos', 'nggallery'); ?></p>
    still exist in \products\photocrati_nextgen\modules\nextgen_basic_album\templates\extended.php.
    The only difference that I notice between the two versions in that point is echo_safe_html

    2.0.33:

    <div class="ngg-description">
                  <p><?php echo $gallery->galdesc; ?></p>
         <?php if (isset($gallery->counter) && $gallery->counter > 0) { ?>
    <p><strong><?php echo $gallery->counter; ?></strong> <?php _e('Photos', 'nggallery'); ?></p>
                        <?php } ?>
                    </div>

    2.0.40:

    <div class="ngg-description">
                  <p><?php echo_safe_html($gallery->galdesc); ?></p>
        <?php if (isset($gallery->counter) && $gallery->counter > 0) { ?>
    <p><strong><?php echo $gallery->counter; ?></strong> <?php _e('Photos', 'nggallery'); ?></p>
                       <?php } ?>
                    </div>

    Thread Starter Reliquary9

    (@reliquary9)

    Well, that certainly makes sense! Thank you for clarifying that for me. Is there any way, by chance, to have the gallery count show in the latest version? Or is it something that’s deprecated at this point?

    Sorry but I don’t know, this is a thing that @photocrati could take note for plugin developers.

    Thread Starter Reliquary9

    (@reliquary9)

    I do hope they take note of it. Were I not under a bit of a time crunch myself, I’d probably take a stab at it with my mad hack n’ slash php skills … but that would probably do more harm than good! XD

    Thanks for the input, though!

    Cheers!

    Plugin Contributor photocrati

    (@photocrati)

    @reliquary9 & @tizz – Thanks for pointing this out, we may have inadvertently created an issue with the piece of data that is used to show the gallery’s image count.

    I will advise our developers and hopefully this will be corrected in our next release.

    – Cais.

    Thread Starter Reliquary9

    (@reliquary9)

    Glad you’re on top of things, Photocrati. It would be a great thing to have available again in the next release. I, for one, found it very handy to be able to see if there are new images at a glance!

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Show Gallery count?’ is closed to new replies.