Skip to content

faustow/SocialShareButton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocialShareButton

Yii extension for all social media share buttons like - facebook, twitter, linkedin and googleplus.

Requirements

Tested with Yii 1.1.14

Installation

  • 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'=>'rohisuthar', //twitter username (for twitter only, if exists else leave empty)
));

Yii Extension

http://www.yiiframework.com/extension/social-share-button/

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: yiiexperts)

About

Yii extension for all social media share buttons like - facebook, twitter, linkedin and googleplus..

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%