This widget is used to add a link or a button in a view and text copy to clipboard. This extension uses a plugin for jquery called ZeroClipboard by http://steamdev.com.
You have to download and upload files to /protected/extensions/Ezclip/.
Implementation: Add this code to a view.
Eg.
$this->widget( 'ext.EZClip.EZClip', array( "type" => "input", //Type of HTML object eg. input, default is "textarea". "idSelector" => "idText", //Id of HTML object. ));
Total 1 comment
I'm going to try this one, but I was looking for one in the other direction. Might be easy from the code in this widget. I am newby, so not really looking to do this just now. Nothing ventured, nothing...
Leave a comment
Please login to leave your comment.