Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

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

akaufer
Member
From: Santiago de Chile
Registered: 2013-08-05
Posts: 23
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: 17,830
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 2/3 test site

Offline

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

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: maps button in single image view

Thanks. This will be fixed in 1.2.2.


Matt

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: 23
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