Hi Guys, sorry I am a newbie when it comes to Yii extensions, as I am still trying to get my head around the whole Yii concept.
Right now, I downloaded the Yii Tooltipster extension to install and use within my Yii application. Now when i unzipped the Tooltipster folder I ended up with a folder and a file, one being the assets fodler, which I presume you merge with the assests folder of the main Yii application and tooltipster php file which I also assumed you placed int the extensions folder under the protected folder.
According the installation guide you just call tooltipster as a widget,
<a href="http://www.yiiframework.com" class="tooltipster" title="This is my link's tooltip message!">
Done, but when I try and run this page I get this error,
The asset "C:\xampp\htdocs\Websites\facebookAppV3\protected\extensions\tooltipster/assets" to be published does not exist.
I was hoping you guys could shed some light on what I am doing wrong?
Please follow steps
Dont move any file or folder anywhere … this is important
Check the following structure
Load the widget
Bind with anchor tag
<?php echo CHtml::link(CHtml::encode(‘Hello’),array(‘disabled’=>false),array(‘title’=>‘This is example link’,‘class’=>‘tooltipster’)); ?>
- Goto link hello and place your cursor… you should see tooltip.
I hope this will solve your problem…
Thanks so much, tried it this morning and now working like a dream. Just one more thing, with extensions then is it safe to assume that what ever is included in the downloaded extension you can just keep in the extensions folder under the protected folder of the Yii application? Or does it rely entirely on what extension you are trying to use and how you are trying to integrate it in to the application?
For your information
Every extenstion which, you are downloading from yiiframework site works same…
This is the default steps to install any extension.
I hope that, i have answered your question