• I am running the latest version of WP (3.6) and the latest version of NextGen.

    The template for the basic shortcode [nggallery id=xx] is broken, and I was just going to go in and fix it but I can’t even find it. This is on a live site, and I really just need to find the files to edit them. I’m downloading the site to run a search but I’m concerned that the documentation is so different from what’s actually there.

    The current template is inserting tags within all the returned code, in the middle of other code tags, completely breaking the site, so that the source I get resembles:
    (partial excerpt just to show the problem) :

    <div<br />
    	class="ngg-galleryoverview"<br />
    	id="ngg-gallery-ed3feed826051facd716475bb0dbd801-1">
    <div id="ngg-image-0" class="ngg-gallery-thumbnail-box" >
    <div class="ngg-gallery-thumbnail"><a href="http://chiconthecheap.net/wp-content/gallery/portfolio/13.jpg"<br / rel="lightbox[50]">
                   title=" "<br />
                   data-image-id='44'<br />
                   rel=\"lightbox[ed3feed826051facd716475bb0dbd801]\"><img<br />
                        title="13"<br />
                        alt="13"<br />
                        src="http://chiconthecheap.net/wp-content/gallery/portfolio/thumbs/thumbs_13.jpg"<br />
                        width="100"<br />
                        height="75"<br />
                        style="max-width:none;"<br />
                    /></a></div>
    </div>
    <div id="ngg-image-1" class="ngg-gallery-thumbnail-box" >
    <div class="ngg-gallery-thumbnail"><a href="http://chiconthecheap.net/wp-content/gallery/portfolio/3.jpg"<br / rel="lightbox[50]">
                   title=" "<br />
                   data-image-id='45'<br />
                   rel=\"lightbox[ed3feed826051facd716475bb0dbd801]\"><img<br />
                        title="3"<br />
                        alt="3"<br />
                        src="http://chiconthecheap.net/wp-content/gallery/portfolio/thumbs/thumbs_3.jpg"<br />
                        width="100"<br />
                        height="75"<br />
                        style="max-width:none;"<br />
                    /></a></div>
    </div>
    <div id="ngg-image-2" class="ngg-gallery-thumbnail-box" >
    <div class="ngg-gallery-thumbnail"><a href="http://chiconthecheap.net/wp-content/gallery/portfolio/catamaran-dining-room-design.jpg"<br / rel="lightbox[50]">
                   title=" "<br />
                   data-image-id='47'<br />
                   rel=\"lightbox[ed3feed826051facd716475bb0dbd801]\"><img<br />
                        title="catamaran-dining-room-design"<br />
                        alt="catamaran-dining-room-design"<br />
                        src="http://chiconthecheap.net/wp-content/gallery/portfolio/thumbs/thumbs_catamaran-dining-room-design.jpg"<br />
                        width="100"<br />
                        height="75"<br />
                        style="max-width:none;"<br />
                    /></a></div>
    </div>

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

Viewing 1 replies (of 1 total)
  • Thread Starter Alice Brosey

    (@ambrosey)

    THIS REALLY NEEDS TO BE FIXED BY THE DEVELOPERS AS I HAD TO EDIT THE PLUGIN TO MAKE IT WORK.

    However, here’s what I finally found, for anyone else with a similar problem:

    This file: /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php

    At least in my version, the above file had hard line breaks at the end of each line, breaking many HTML tags. I went through and deleted the hard line breaks that were inside each HTML tag, and the site is now using the template properly.

Viewing 1 replies (of 1 total)
  • The topic ‘Where are the default templates now??’ is closed to new replies.