Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2017-07-18 08:57:22

akaufer
Member
From: Santiago de Chile
Registered: 2013-08-05
Posts: 18
Website

maps button in single image view

Hi,

I noticed that no maps button would show in my single-image pages despite GPS coordinates being available in the photo.

Replacing class "gridicon googlemaps" e.g. with "fa fa-map-o" in the view script does fix it:

diff pangolin-album/dynamic/view/single.php pangolin-album/dynamic/view/single.orig.php
57c57
<     $map_link = $album->mapsEnabled() && $mapURL ? '--><li><a class="fa fa-map-o" href="'.$mapURL.'" target="_blank"><span>Map</span></a></li><!--' : '';
---
>     $map_link = $album->mapsEnabled() && $mapURL ? '--><li><a class="gridicon googlemaps" href="'.$mapURL.'" target="_blank"><span>Map</span></a></li><!--' : '';

Example image with fix applied: http://andreas-und-angelika.de/gallerie … single.php

Not sure, however, if this is the correct way to fix it.

Cheers
Andreas

Offline

#2 2017-07-18 11:03:38

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 13,253
Website

Re: maps button in single image view

I'm seeing the same thing in my tests. Matt will need to look into it.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 1.1.1 test site, Pangolin test site

Offline

#3 2017-07-18 16:59:00

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 4,992
Website

Re: maps button in single image view

Thanks. This will be fixed in 1.2.2.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#4 2017-07-19 02:31:56

akaufer
Member
From: Santiago de Chile
Registered: 2013-08-05
Posts: 18
Website

Re: maps button in single image view

Thanks Matt!

Thanks for Backlight/Pangolin! Nice evolution from CE4!
I further appreciate that you maintain html5 video in Theater!

Best
Andreas

Offline

Board footer

Powered by FluxBB