social-sharing-widget Widget that generates sharing buttons for facebook, twitter and google plus

  1. Requirements
  2. Installing
  3. Usage
  4. Download

Widget that generates sharing buttons for facebook, twitter and google plus

Requirements

Yii 1.1 or above

Installing

Copy files to your project, eg. to protected/components/widgets. You should preserve the folder structure and make sure assets are placed in ./assets/socialshare. You may place assets to another directory, but make sure you specify the full path in 'assetsPath' property.

Usage

$this->widget('path.to.SocialShareWidget', array(
	'url' => 'http://example.org',			//required
	'services' => array('google', 'twitter'),	//optional
	'htmlOptions' => array('class' => 'someClass'),	//optional
	'popup' => false,				//optional
));

Download

https://github.com/pavlepredic/Yii-social-sharing-widget</a>

6 0
16 followers
0 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: pavlepredic
Created on: Jul 25, 2012
Last updated: 6 years ago

Related Extensions