Fields with * are mandatory

Dios - Do It Open Source
 

How to social

Install social button
Download the latest release package from yii extensions repository
Unpack it in /protected/extensions/
Use social button

Insert next code in your page, where do you want to place buttons.
<?php $this->widget('application.extensions.social.social', array(
    'style'=>'vertical', 
        'networks' => array(
        'twitter'=>array(
            'data-via'=>'', //http://twitter.com/#!/YourPageAccount if exists else leave empty
            ), 
        'googleplusone'=>array(
            "size"=>"medium",
            "annotation"=>"bubble",
        ), 
        'facebook'=>array(
            'href'=>'https://www.facebook.com/your_facebook_page', //associate your page http://www.facebook.com/page 
            'action'=>'recommend',//recommend, like
            'colorscheme'=>'light',
            'width'=>'120px',
            )
        )
));?>
Usual parameters to be adjusted:
  • style: button's alignment (string: horizontal or vertical)
  • networks: social network which you must have (twitter, googleplusone, facebook)
  • data-via:Your Twitter Page Account if exists or leave empty (url: //http://twitter.com/#!/YourPageAccount)
  • size: google button size (string:small, standard, medium, tall)
  • annotation: google button mode to show annotation(string: bubble, inline, none)
  • href: Your Facebook Page (url: http://www.facebook.com/facebook_page)
  • action: action for facebook button (string: recommend or like)
  • colorscheme: used color scheme for facebook button (string: light or dark)
  • width: the width for facebook button container (pixels: 120px)