Articles tagged with "widgets", sorted by date (updated)X
Displaying 1-10 of 16 result(s).

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Updated 10 days ago by Kartik VHow-tos2 comments – viewed 1,965 times – ( +1 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

Extension Development (beginner)

Updated 10 days ago by CeBeTutorials2 comments – viewed 13,388 times – ( +33 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Rendering Views and Updating them with Ajax

Updated 5 months ago by Manish GuptaTips4 comments – viewed 9,433 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

Customizing the CMenu Widget

Updated 9 months ago by mistrybTips1 comment – viewed 17,469 times – ( +1 )
The CMenu class provides some useful features for generating menus in your web application.

CGridView. Add custom class to table rows preserving original „odd“ and „even“

Updated 10 months ago by Maug LeeHow-tos2 comments – viewed 14,470 times – ( +4 )
Lets say we have such a CGridView widget showing a list of users for administrator. Users have status „active“ or „disabled“. Grid widget puts class „odd“ or „even“ to rows and we want to preserve this. So we want to add a class „disabled“ to rows with disabled users.

YiiBooster: How to implement files and images upload on TbRedactor Widget

Updated about a year ago by Antonio RamirezHow-tos2 comments – viewed 15,796 times – ( +12 ) – version 1.1
I have been requested to provide a tutorial on how to use the file upload feature of the TbRedactor widget, and even though I am no longer supporting the library due that the work belongs to Clevertech, I feel that I owe that to the Yii developers. So, here is the  tutorial.

XUpload Workflow

Updated about a year ago by AsgarothTutorials25 comments – viewed 39,992 times – ( +31 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

A simple go back button widget

Updated about a year ago by bennounaHow-tos5 comments – viewed 12,354 times – ( +8 / -2 ) – version 1.1
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

How to hide index.php on Microsoft Windows Server with IIS7

Updated about a year ago by GiulianoHow-tos1 comment – viewed 8,606 times – ( +7 ) – version 1.1
I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

How to use a Widget as an Action Provider

Updated 2 years ago by Antonio RamirezHow-tos14 comments – viewed 27,561 times – ( +27 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction