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-21 01:52:33

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

Previous and Next button in Single view album

Thanks again for the fix of the maps button in 1.2.2.

I now noticed that the first image of an album in single image view would show the "Previous" button and the last image the "Next" button. Both with text instead of a symbol. The usual behaviour was to not show this button at all.

Thx
Andreas

Offline

#2 2017-07-21 02:17:57

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

Re: Previous and Next button in Single view album

Matt, I'm seeing the same thing in my test albums. Here's what it looks like on the first image:

single-previous-next-1.jpg


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-23 00:14:24

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

Re: Previous and Next button in Single view album

If you don't want to wait until Matt fixes this in a maintenance release, you could use jQuery to hide those buttons on the first and last images. Use this in the ttg_scripts phplugins hook:

<script>
$(\'ul.single_icons li span:contains("Previous")\').hide();
$(\'ul.single_icons li span:contains("Next")\').hide();
</script>

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

Offline

#4 2017-07-23 04:16:44

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

Re: Previous and Next button in Single view album

Thanks Rod! I didn't dare to ask for a quick fix... Works!
Andreas

Offline

Board footer

Powered by FluxBB