nafink
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Filebase Download Manager] Associated files not showing up below the post0.2.9.28 resolved the issue.
Crud – missed a back-tick…
Thumbnails section in gallery.php or gallery-gallery2.php in full with the link including class addition:
<!-- Thumbnails --> <?php foreach ( $images as $image ) : ?> <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> > <div class="ngg-gallery-thumbnail" > <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> > <?php if ( !$image->hidden ) { ?> <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> /> <?php } ?> </a> <span> <a href="<?php echo $image->imageURL ?> " class="shutter"> Link </a> </span> </div> </div> <?php if ( $image->hidden ) continue; ?> <?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?> <br style="clear: both" /> <?php } ?> <?php endforeach; ?> <!-- Pagination --> <?php echo $pagination ?> </div> <?php endif; ?>So using class=shutter” does work, but I forgot to set my effect to Shutter in the NGG Options page (was thickbox) before I tested it.
So use this instead:
[Code moderated as per the Forum Rules. Please use the pastebin]
If you use the Thickbox effect, just use class=”thickbox” instead of class=”shutter”
Apologies – I just re-read, and realized that you want the link to open the image in a shutterbox/thickbox ‘pop-up’ effect. I’m not sure how to do that. For grins, I tried adding class=”shutter” to the anchor tag, but it didn’t seem to work.
Here’s the simplest way, but it’s only a direct link to the image and not a link to a page that uses your theme template to show the image:
Get to wp-content/plugins/nextgen-gallery/view/gallery.php via FTP or WP edit plugins. If you edit the gallery.php, it will change how all galleries are shown.
(Best is to grab the file via FTP and save gallery.php as gallery-gallery2.php, edit, put into the same directory. use [nggallery id=X template=gallery2] shortcode on your page. Search google for where to put ngg templates in your theme directory so they don’t get deleted when upgrading.)
This is what needs to be added:
<span> <a href="<?php echo $image->imageURL ?>"> Link </a> </span>Here’s the Thumbnails section in full with the addition:
<!-- Thumbnails --> <?php foreach ( $images as $image ) : ?> <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> > <div class="ngg-gallery-thumbnail" > <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> > <?php if ( !$image->hidden ) { ?> <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> /> <?php } ?> </a> <span> <a href="<?php echo $image->imageURL ?>"> Link </a> </span> </div> </div>Forum: Plugins
In reply to: [Plugin: Business Directory] Phone Numbers Not DisplayingI seem to be having a similar issue with version 0.8.5 Beta. Only the Orgs and the websites links are showing up. The email addresses and the phone numbers no longer show up on the BizDir page.
Is anyone else having the same issue? I sent an update to the developers; we’ll see what shakes out.