Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hazelbug

    (@hazelbug)

    I found this, but I can’t find the code in the file where it says it’s supposed to be (I assume “gallery.php” is now “nggallery.php”, etc)… Looked through all the files and don’t see the proper code I am supposed to edit….

    Help! Thanks!

    Thread Starter hazelbug

    (@hazelbug)

    Found the file to edit.
    It is under the “View” folder > gallery.php

    Added

    <?php echo $image->description ?>
    	</div>

    at the end of

    <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box">
    		<div class="ngg-gallery-thumbnail" >
    			<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    				<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
    			</a>
    		</div>

    and now I have to restyle the descriptions. I wish the upgrade didn’t overwrite all of this that I worked so hard to set up already… but glad to have figured it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Next Gen Upgrade ~ Descrips disappeared’ is closed to new replies.