Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • sakul Friend
    #174295

    after the installation of the quickinstall package i had the old social share buttons in k2, but after some changes and savings the social share buttons changed automatically and only the twitter, facebook and google+ symbols are showing up. does anybody know how i can get the old style back, because i prefer them?

    http://paslawski-immobilien.de/images/sharebuttons.png

    i have already change the item.php

    <?php if($this->item->params->get(‘itemShareLinks’)): ?>
    <!– Item social links –>
    <div class=”itemSocialLinksBlock clearfix”>
    <span><?php echo JText::_(“K2_Social_sharing”); ?>:</span>
    <ul class=”itemSocialLinks clearfix”>
    <li><a class=”googlebuzz” title=”<?php echo JText::_(“K2_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::_(“K2_ADD_TO_GOOGLE_BUZZ”); ?></span></a></li>
    <li><a class=”facebook” title=”<?php echo JText::_(“K2_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::_(“K2_ADD_TO_FACEBOOK”); ?></span></a></li>
    <li><a class=”delicious” title=”<?php echo JText::_(“K2_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::_(“K2_ADD_TO_DELICIOUS”); ?></span></a></li>
    <li><a class=”digg” title=”<?php echo JText::_(“K2_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::_(“K2_DIGG_THIS”); ?></span></a></li>
    <li><a class=”reddit” title=”<?php echo JText::_(“K2_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::_(“K2_ADD_TO_REDDIT”); ?></span></a></li>
    <li><a class=”stumble” title=”<?php echo JText::_(“K2_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::_(“K2_ADD_TO_STUMBLEUPON”); ?></span></a></li>
    <li><a class=”myspace” title=”<?php echo JText::_(“K2_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::_(“K2_ADD_TO_MYSPACE”); ?></span></a></li>
    <li><a class=”technorati” title=”<?php echo JText::_(“K2_ADD_TO_TECHNORATI”); ?>” href=”http://www.technorati.com/faves?add=<?php echo $this->item->socialLink; ?>” target=”_blank”><span><?php echo JText::_(“K2_ADD_TO_TECHNORATI”); ?></span></a></li>
    </ul>
    </div>
    <?php endif; ?>

    Manos Moderator
    #441315

    Hi,

    an easy way to achieve this is to copy the code from the old version of K2 since those icons are K2 referred and not template related.

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

This topic contains 2 replies, has 2 voices, and was last updated by  Manos 12 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum