Yii 1.1: jquery-bookmark

JQuery BookMarks
6 followers

This extension is a wrapper to the jquery plugin bookmark (http://keith-wood.name/bookmark.html)

Resources

Documentation

Requirements

  • Yii 1.1 or above

Installation

  • Extract the release file under protected/extensions

Usage

See the following code example:

<?php $this->widget('ext.JQBookMark.BookMark'); ?>
or...
<?php
$this->widget('ext.JQBookMark.BookMark',
    array(
    'sites'=>array(
    'facebook',
    'linkedin',
    'myspace',
    'netvibes',
    'orkut',
    'wikio',
    'twitthis',
    'yahoo',
    'google',
    'delicious'
    )
    )
); ?>

Change Log

April 13, 2010

  • Initial release.

Total 2 comments

#2494 report it
Deepak Pradhan at 2011/01/10 05:22am
Works good

Works great! Only change I had to make it to work is make getId compatible with CWidget::getId.

public function getId($autoGenerate=true){
   if(!isset($this->id))
        $this->id = uniqid('jqbm');
   return $this->id;
}

The LinkedIn did not work for me even with the latest update of the js files.

#2307 report it
Trejder at 2010/12/10 05:54am
Internationalization?

This extension looks wonderful! :) Thanks! Number of sites it can sent bookmark to is really fantastic!

P.S.: I noticed some national services (first one on project page is Russian). Do you know, if this jQuery plugin and your extension wrapper for it supports adding new, own sites to the list of supported ones?

P.S.: "Try out a demo" link does not work as a date of writing it (10 December 2010). Returns "Error: 503 - Service Unavailable". Need to use "Homepage" instead.

Leave a comment

Please to leave your comment.

Create extension
Downloads