Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter svb_wm

    (@svb_wm)

    @sjardim: Thank you very much, now it works for me!

    @damst: You are right, but I think it would be better to have it like

    Your Blogtitle | Gallerypage ? Album 1 ? Gallery 1

    where “Your Blogtitle” is taken from the “settings” –> “main” page and “Gallerypage” is the name of the page the pictures are displayed on. Did you find out where to change this?

    Thread Starter svb_wm

    (@svb_wm)

    @sjardim: Oh, thank you. We posted at the same time. I tried it according to your description but <?php echo urldecode($_SERVER['QUERY_STRING'])?> now shows page_id=9&album=4&gallery=3&Gallerytitle as headline in gallery.php. How can I delete the “page_id=9&album=4&gallery=3&”? Maybe that solution only works with mod_rewrite and permalinks like https://url.com/%postname%/?

    Thread Starter svb_wm

    (@svb_wm)

    Thanks for the information. Now when I use
    <?php echo $picture->title ?> to display the title of the gallery on the top above the list of thumbnails, there is no effect at all and using <?php var_dump($picture) ?> I get the result NULL. So am I doing wrong and you can tell me the right way or should I simply wait for the next release? I only want to put the gallery title at the beginning of the gallery.php template in line 18 after <div class="ngg-galleryoverview" id="ngg-gallery-<?php echo $gallery->ID ?>">

    I think a description which variables can be used in the templates would be useful, could you add this to an upcoming release?

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