- Posts: 2
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Adding Social Media Sharing to SIG Pro
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Adding Social Media Sharing to SIG Pro
- Golfo Media
- Topic Author
- Offline
- New Member
Less
More
10 years 6 months ago #55633
by Golfo Media
Adding Social Media Sharing to SIG Pro was created by Golfo Media
Does anybody has an idea how to add social media sharing to SIG pro?
It is basically the only feature missing.
It would be great when opening the popup image to have the facebook like and maybe the twitter icon on it as well.
If anyone has an idea on how to add this to the code please share here.
I found a piece of code that adds that functionality for the Fancybox I'm just not sure how to integrate it.
stackoverflow.com/questions/16374399/social-buttons-on-fancybox
beforeShow: function () {
if (this.title) {
// New line
this.title += '<br />';
// Add tweet button
this.title += '<a href="twitter.com/share" class="twitter-share-button" data-count="none" data-url="' + this.href + '">Tweet ';
// Add FaceBook like button
this.title += '<iframe src="//www.facebook.com/plugins/like.php?href=' + this.href + '&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:110px; height:23px;" allowTransparency="true">';
}
},
afterShow: function() {
// Render tweet button
twttr.widgets.load();
},
helpers : {
title : {
type: 'inside'
}
}
It is basically the only feature missing.
It would be great when opening the popup image to have the facebook like and maybe the twitter icon on it as well.
If anyone has an idea on how to add this to the code please share here.
I found a piece of code that adds that functionality for the Fancybox I'm just not sure how to integrate it.
stackoverflow.com/questions/16374399/social-buttons-on-fancybox
beforeShow: function () {
if (this.title) {
// New line
this.title += '<br />';
// Add tweet button
this.title += '<a href="twitter.com/share" class="twitter-share-button" data-count="none" data-url="' + this.href + '">Tweet ';
// Add FaceBook like button
this.title += '<iframe src="//www.facebook.com/plugins/like.php?href=' + this.href + '&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:110px; height:23px;" allowTransparency="true">';
}
},
afterShow: function() {
// Render tweet button
twttr.widgets.load();
},
helpers : {
title : {
type: 'inside'
}
}
Please Log in or Create an account to join the conversation.
- Highlander
- Offline
- New Member
Less
More
- Posts: 5
9 years 9 months ago #142162
by Highlander
Replied by Highlander on topic Adding Social Media Sharing to SIG Pro
Any update on this one?
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 9 months ago #142177
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Adding Social Media Sharing to SIG Pro
@Highlander
The PrettyPhoto popup engine includes a Facebook like button. You can see how it works at the demo page at demo.joomlaworks.net/simple-image-gallery-pro . There is no other integration with social media in Simple Image Gallery PRO currently.
The PrettyPhoto popup engine includes a Facebook like button. You can see how it works at the demo page at demo.joomlaworks.net/simple-image-gallery-pro . There is no other integration with social media in Simple Image Gallery PRO currently.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Highlander
- Offline
- New Member
Less
More
- Posts: 5
9 years 8 months ago #142374
by Highlander
Replied by Highlander on topic Adding Social Media Sharing to SIG Pro
ok thanks :)
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 8 months ago #142376
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Adding Social Media Sharing to SIG Pro
You are welcome.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- zanzan
- Offline
- New Member
Less
More
- Posts: 1
7 years 2 months ago #164572
by zanzan
<a href="twitter.com/share?ref_src=http://www.YOURSITE.com/images/YOURIMAGE.jpg" class="twitter-share-button" data-show-count="false">YOURSITE.com/images/twitter.png" />
<a href="www.linkedin.com/shareArticle?mini=true&url=&title=&summary=http://www.YOURSITE.com/images/YOURIMAGE.jpg" title="" target="_blank" class="btn btn-linkedin">YOURSITE.com/images/linkedin.png" />
<a href="plus.google.com/share?url=http://www.YOURSITE.com/images/YOURIMAGE.jpg">YOURSITE.com/images/google.png" />
<a href="pinterest.com/pin/create/button/?url=http://www.YOURSITE.com/images/YOURIMAGE.jpg&description=" target="_blank" title="Pin it">www.YOURSITE.com/images/pinterest.png" />
Replied by zanzan on topic Adding Social Media Sharing to SIG Pro
I have a working solution to put Social sharing buttons inside the popu image for the SIG pro
This takes care of Facebook Share , Twitter Share , Linkedin Share, Google + ,
and Pinterest Share.
<a href="developers.facebook.com/docs/plugins/" data-layout="button_count" data-size="small" data-mobile-iframe="true">www.facebook.com/sharer/sharer.php?u=http://www.YOURSITE.com/images/YOURIMAGE.jpg">YOURSITE.com/images/Facebook.png" />
This takes care of Facebook Share , Twitter Share , Linkedin Share, Google + ,
and Pinterest Share.
<a href="developers.facebook.com/docs/plugins/" data-layout="button_count" data-size="small" data-mobile-iframe="true">www.facebook.com/sharer/sharer.php?u=http://www.YOURSITE.com/images/YOURIMAGE.jpg">YOURSITE.com/images/Facebook.png" />
<a href="twitter.com/share?ref_src=http://www.YOURSITE.com/images/YOURIMAGE.jpg" class="twitter-share-button" data-show-count="false">YOURSITE.com/images/twitter.png" />
<a href="www.linkedin.com/shareArticle?mini=true&url=&title=&summary=http://www.YOURSITE.com/images/YOURIMAGE.jpg" title="" target="_blank" class="btn btn-linkedin">YOURSITE.com/images/linkedin.png" />
<a href="plus.google.com/share?url=http://www.YOURSITE.com/images/YOURIMAGE.jpg">YOURSITE.com/images/google.png" />
<a href="pinterest.com/pin/create/button/?url=http://www.YOURSITE.com/images/YOURIMAGE.jpg&description=" target="_blank" title="Pin it">www.YOURSITE.com/images/pinterest.png" />
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 2 months ago #164597
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Adding Social Media Sharing to SIG Pro
Hello,
This is not complete, this needs to be manually added in the lightbox area via a custom script and some styling is still needed.
This is not complete, this needs to be manually added in the lightbox area via a custom script and some styling is still needed.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Adding Social Media Sharing to SIG Pro