test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • klamort Friend
    #177785

    Hi,

    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 Moderator
    #455994

    This 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

Viewing 2 posts - 1 through 2 (of 2 total)

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