This is a simple widget that show the google+, twitter, facebook buttons on your page.
Yii 1.0 or above
Copy the WSocialButton.php to your extensions directory.
Use this code in the view page where you want to display the buttons:
$this->widget('application.extensions.WSocialButton', array('style'=>'box'));
Total 9 comments
Hi is there any way to alter the width of the table.
I am using this for blog posting, but the error is that when i post the first blog it posts successfully... when i like and post the second blog the blog title is changed to default like "My Web Application" instead of my blog title....
quick and easy to undestand, very cool extension.
You should make the Facebook app ID a parameter, as it is you are always sending the same one : 220227991326675
This has potential security implications.
V1.1 Fix: the scripts are inserted at the end of the body section
I think it works out of the box. Because you said place it where you want to display the button.
How can one add it to a blog or article posts. Like the way they do in wordpress or blogger. Thanks
Ótima extensão, de grande utilidade :) +1
Thx for nice extension! Very useful )
Leave a comment
Please login to leave your comment.