• Hello!

    When I use the link “show as slideshow” the template “gallery.php” is overwritten by the javascript to show the slideshow. This works somehow but I want to add the title of the gallery to the output.

    In row 205 of the nggfuncion.php I added the following to the function nggShowGallery (it’s the output part):

    $out = '<div class="ngg-gallery-title"><h1>' . $gallery->title . '</h1></div>';

    But there is no title shown. probalby completely wrong what I am doing. This is a great plugin especially with the custom template options – just for the slideshow there is no template file … that is why i am lost …

    Any help here would be great,
    thx for reading,
    piedro

Viewing 2 replies - 1 through 2 (of 2 total)
  • The code you have your fingers in right now control the link to the slide show. If you want to modify the slide show output you need to dig into the function nggShowSlideshow or nggShow_JS_Slideshow depending on if you have enabled the flash slide show or not.

    Hope that helps you on the way.

    Sorry I was wrong. You are at the right part of the code.

    However, the gallery title is not loaded yet. How to get that into this part of the code is not trivial though.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Nextgen Gallery] How to add a title to the slideshow in the nggfuncti’ is closed to new replies.