social-share-button

All top social media share buttons like - facebook, twitter, linkedin etc.
6 followers

All top social media share buttons like - facebook, twitter, linkedin and googleplus.

Requirements

Tested with Yii 1.1.14

Install

  • Download the latest release package
  • Unpack it in /protected/extensions/ folder

Usage

Paste the code into your main.php page or also you can use this code as per your requirement.

$this->widget('application.extensions.SocialShareButton.SocialShareButton', array(
        'style'=>'horizontal',
        'networks' => array('facebook','googleplus','linkedin','twitter'),
        'data_via'=>'', //twitter username (for twitter only, if exists else leave empty)
));

Download

https://github.com/rohitsuthar/SocialShareButton

Usual parameters to be adjusted:

  • style: share button styles (string: vertical or horizontal).
  • social media: social network which you must have (facebook, twitter, googleplus, linkedin.);
  • data_via: You can specify your twitter username (string: rohisuthar).

More Extension

Visit - www.yiiexpert.github.io

Total 2 comments

#18065 report it
Rohit Suthar at 2014/09/03 03:44am
RE #18063

@noorkhan

your welcome man... thanks for using this :)..

#18063 report it
noorkhan885 at 2014/09/03 03:03am
Good One

thanx buddy for this nice extension ... it is what i required

Leave a comment

Please to leave your comment.

Create extension