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 2018-02-20 05:45:26

hjrw
Member
From: Peoria (Phoenix) AZ
Registered: 2012-10-01
Posts: 180

Download, GPS other buttons

Is there a simple way to place the download, gps and maybe other icons/buttons (as needed) on the top of the single image display next to the shopping cart icon?

Offline

#2 2018-02-20 09:58:51

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

Re: Download, GPS other buttons

Sorry about my previous replies that I've since deleted. I read that too fast and thought you were asking about replacing icons.


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 2018-02-20 10:04:37

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

Re: Download, GPS other buttons

Download and map icons already appear above the single image display next to the shopping cart icon.
You'll need to enable Maps in the album set up under the Features tab and enable downloads in the template.
Not sure how simple it would be to place other buttons.

There is a ttg_single_top phplugins hook that encompasses the image and related metadata. I don't think that this will control the content above the image though.

how comfortable are you with jQuery?

You might be able to use jQuery to add something there using the .before() or .insertBefore() methods
http://api.jquery.com/insertbefore/


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

Offline

Board footer

Powered by FluxBB