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-06-02 08:18:10

Pixelmover
Member
From: Wiesbaden, Germany
Registered: 2017-02-14
Posts: 46
Website

Share icon google+ and instagram

In the slideshow I would like to add a share icon for instagram and google +.
That's why I've added the following code to my custom.css:

 / * Sharing Icon Instagram Add
=================================== * /

.pswp__button - share :: after {
content: "\ f16d";
}

/ * Add Sharing Icon to Google+
=================================== * /

.pswp__button - share :: after {
content: "\ f0d4";
}

Unfortunately that did not work, the icons are not displayed.
Do I have to insert another code somewhere?
And at which point must the link to instagram and google + be entered with credentials?


Pixelmover Rainer
Learn for a lifetime

Offline

#2 2018-06-02 08:37:14

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

Re: Share icon google+ and instagram

if you're using Pangolin album templates then the .pswp__button class is not valid. That was for Photoswipe in Backlight 1 (Okapi). It's been replaced.

if you can provide a link to an album we might be able to figure out the selector.


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-06-02 08:50:04

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

Re: Share icon google+ and instagram

Actually, I don't think it's possible to add sharing button code to individual images. That would probably require Matt and Ben to change the album module.


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 2018-06-02 09:14:34

Pixelmover
Member
From: Wiesbaden, Germany
Registered: 2017-02-14
Posts: 46
Website

Re: Share icon google+ and instagram

I mean the sharing icons from the slideshow view. There you can also switch off individual icons:

 / * remove the sharing icons from the slideshow view.
================================================== * /
li.share-pinterest {
display: none;
}

Here I want to add icons (and links) for instagram and google +
I use pangolin album templates.

Last edited by Pixelmover (2018-06-02 09:22:25)


Pixelmover Rainer
Learn for a lifetime

Offline

#5 2018-06-02 10:13:22

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

Re: Share icon google+ and instagram

as I said, I think it would probably require Matt and Ben to change the album module.
The urls for the sharing look like they're generated from stored data in the database. So that means changing code in the pangolin-album module.

So this would be a feature request rather than something the user can change. At least that's the way I see it.

Plus, can a visitor to your site share one of your images on their Instagram or Google accounts? The existing icons allow sharing to Pintrest or tweeting an image.

If you want to add links to your own Instagram or Google accounts, you can do that in the Social Media links in your page template.


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

Offline

#6 2018-06-02 11:42:59

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

Re: Share icon google+ and instagram

Instagram is for posting one's own work, not for sharing found images. I don't think they even have a sharing API.

As for Google+, it was a long-running gag that no one uses it. At this point, I don't think it's used enough even for the gag to pop up in conversations, because it's not a part of the conversation. I am unlikely to add Google Plus sharing buttons to Pangolin. In eliminating clutter, Google+ buttons were very low-hanging fruit.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2018-06-02 22:45:21

Pixelmover
Member
From: Wiesbaden, Germany
Registered: 2017-02-14
Posts: 46
Website

Re: Share icon google+ and instagram

Hi.
Thanks for the detailed posts. I probably got a lot wrong. Sorry!


Pixelmover Rainer
Learn for a lifetime

Offline

Board footer

Powered by FluxBB