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('', array(
        'networks' => array(
            'data-via'=>'', //!/YourPageAccount if exists else leave empty
            'href'=>'', //associate your page 
            'action'=>'recommend',//recommend, like
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: //!/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:
  • 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)