-
AuthorPosts
-
klamort Friend
klamort
- Join date:
- August 2011
- Posts:
- 30
- Downloads:
- 34
- Uploads:
- 9
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
June 3, 2012 at 3:01 pm #177785Hi,
I am not sure how if the problem is because of the theme.
I am having facebbok share button on the bottom of my article like here: http://motards.be/index.php/fr-FR/component/k2/item/443-ducati-panigale
But everytime I am using it, it always show the same picture in facebook for all article…
I dont even see a module or plugin in my admin, where I could change that… Are those button (google+1, Facebook or twitter) included in the theme?Thanks for your help.
Klaus
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 5, 2012 at 4:02 am #455994This is default on K2 component (3rd party).You can see the details info on this.
<blockquote>
There is a list of social button links in components/com_k2/templates/default/item.php and the icons are specified in the k2.css file.This section in items.php
<!– Item social links –>
<div class=”itemSocialLinksBlock”>
<span><?php echo JText::_(“Social sharing”); ?></span>
<ul class=”itemSocialLinks”>
<li><a class=”googlebuzz” title=”<?php echo JText::_(“Add to Google Buzz”); ?>” href=”http://www.google.com/buzz/post?url=<?php echo $this->item->socialLink; ?>&message=<?php echo urlencode($this->item->title); ?>” target=”_blank”><span><?php echo JText::_(“Add to Google Buzz”); ?></span></a></li>
<li><a class=”facebook” title=”<?php echo JText::_(“Add to Facebook”); ?>” href=”http://www.facebook.com/sharer.php?u=<?php echo $this->item->socialLink; ?>&t=<?php echo urlencode($this->item->title); ?>” target=”_blank”><span><?php echo JText::_(“Add to Facebook”); ?></span></a></li>
<li><a class=”delicious” title=”<?php echo JText::_(“Add to Delicious”); ?>” href=”http://del.icio.us/post?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>” target=”_blank”><span><?php echo JText::_(“Add to Delicious”); ?></span></a></li>
<li><a class=”digg” title=”<?php echo JText::_(“Digg this”); ?>” href=”http://digg.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>” target=”_blank”><span><?php echo JText::_(“Digg this”); ?></span></a></li>
<li><a class=”reddit” title=”<?php echo JText::_(“Add to Reddit”); ?>” href=”http://reddit.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>” target=”_blank”><span><?php echo JText::_(“Add to Reddit”); ?></span></a></li>
<li><a class=”stumble” title=”<?php echo JText::_(“Add to StumbleUpon”); ?>” href=”http://www.stumbleupon.com/submit?url=<?php echo $this->item->socialLink; ?>&title=<?php echo urlencode($this->item->title); ?>” target=”_blank”><span><?php echo JText::_(“Add to StumbleUpon”); ?></span></a></li>
<li><a class=”myspace” title=”<?php echo JText::_(“Add to MySpace”); ?>” href=”http://www.myspace.com/Modules/PostTo/Pages/?l=3&u=<?php echo $this->item->socialLink; ?>&t=<?php echo urlencode($this->item->title); ?>” target=”_blank”><span><?php echo JText::_(“Add to MySpace”); ?></span></a></li>
<li><a class=”technorati” title=”<?php echo JText::_(“Add to Technorati”); ?>” href=”http://www.technorati.com/faves?add=<?php echo $this->item->socialLink; ?>” target=”_blank”><span><?php echo JText::_(“Add to Technorati”); ?></span></a></li>
<li class=”clr”></li>
</ul>Also a list of icons defined in the css
div.itemSocialLinksBlock {padding:4px;border-bottom:1px dotted #ccc}
div.itemSocialLinksBlock span {font-weight:bold;color:#555;padding:0 4px 0 0;float:left;display:block;}
div.itemSocialLinksBlock ul.itemSocialLinks {list-style:none;padding:0;margin:0;float:left;}
div.itemSocialLinksBlock ul.itemSocialLinks li {float:left;list-style:none;padding:0 4px;margin:0;}
div.itemSocialLinksBlock ul.itemSocialLinks li a {float:left;display:block;width:16px;height:16px;background-position:0 0;background-repeat:no-repeat;}
div.itemSocialLinksBlock ul.itemSocialLinks li a:hover {}
div.itemSocialLinksBlock ul.itemSocialLinks li a span {display:none;}
a.delicious {background-image: url(../images/social/delicious_16.png);}
a.digg {background-image: url(../images/social/digg_16.png);}
a.facebook {background-image: url(../images/social/facebook_16.png);}
a.googlebuzz {background-image: url(../images/social/googlebuzz_16.png);}
a.myspace {background-image: url(../images/social/myspace_16.png);}
a.reddit {background-image: url(../images/social/reddit_16.png);}
a.stumble {background-image: url(../images/social/stumbleupon_16.png);}
a.technorati {background-image: url(‘/../images/social/technorati_16.png’);}
</blockquote>and customize any thing if you like it
-
AuthorPosts
This topic contains 2 replies, has 2 voices, and was last updated by Ninja Lead 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum