Yii 2.0: yii2-rrssb

This is a responsive social share bar widget for Yii2 projects.
4 followers

This is a responsive social share bar widget for Yii2 projects. They define it as "Ridiculously Responsive Social Sharing Buttons".

rrssb-preview.gif

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist imanilchaudhari/yii2-rrssb "dev-master"

or add

"imanilchaudhari/yii2-rrssb": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?=\imanilchaudhari\rrssb\ShareBar::widget([
        'title' => 'Title Content', // i.e. $model->title
        'media' => 'image.jpg', // Media Content
        'networks' => [
            'Email',
            'Facebook',
            'Github',
            'GooglePlus',
            'Hackernews',
            'LinkedIn',
            'Pinterest',
            'Pocket',
            'Reddit',
            'Tumblr',
            'Twitter',
            'Vk',
            'Youtube'  
        ]
    ]); 
?>

About

Yii2-rrssb is inspired by RRSSB.

Total 3 comments

#19599 report it
Jonathan Morales Salazar at 2015/09/25 12:49pm
It works

thank you for your support, it works perfect now, I modified the twitter view, I use this href

https://twitter.com/intent/tweet?text=<?php echo urlencode($title) ?>%20<?php echo urlencode($url) ?>&via=blonder413

Congratulations for this awesome extension

#19598 report it
Anil Chaudhari at 2015/09/25 04:17am
Awesome but I have problem with twitter

Try after cleaning your assets folder, May it work. If not then you can customize with your configuration as twitter. Anyway feel free to update in this package. :)

#19597 report it
Jonathan Morales Salazar at 2015/09/24 07:00pm
Awesome but I have problem with twitter

Hi, I like this extension, it's awesome and I want to implement in my blog, the problem is when I try to share in twitter, the popup shows in blank like loading, but it doesn't work. What can I do?, please. Thank you. I modified the twitter file and it works perfect. thanks for this extension.

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet