addthis Simple addThis widget extension

  1. Donate
  2. Documentation
  3. Simple Usage
  4. Customized Appearance
  5. Change Log

This extension is simple but let you high customize addThis widget appearance.

Check addThis website for API instructions.

Resources

Donate

Documentation

Requirements
  • Yii 1.0 or above
Installation
  • Extract the release file under protected/extensions
Usage

See the following code example:

Simple Usage

Append this line on your views. <?php $this->widget('application.extensions.addThis'); ?>

Customized Appearance

See Services List to ensure correct usage of showServices feature.

Append this code on your views. <?php $this->widget('application.extensions.addThis', array( 'id'=>'id', 'username'=>'username', 'defaultButtonCaption'=>'Share', 'showDefaultButton'=>true, 'showDefaultButtonCaption'=>true, 'separator'=>'|', 'htmlOptions'=>array(), 'linkOptions'=>array(), 'showServices'=>array('separator', 'facebook', 'twitter', 'myspace', 'email', 'print'), 'showServicesTitle'=>false, 'config'=>array('ui_language'=>'en'), 'share'=>array()) ); ?>

Change Log

June 8, 2010
  • Initial release.
4 0
6 followers
736 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Tags:
Developed by: thiagovidal
Created on: Jun 8, 2010
Last updated: 13 years ago

Downloads

show all