Wiki

Sorted by viewsX
Displaying 541-550 of 786 result(s).

Advanced CTabView using CClipWidget

Created 9 years ago by krillzipTutorials1 comment – viewed 13,299 times – ( +2 / -1 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Managing a star rating with the StarRating widget in Yii 2

Created 3 years ago by Kartik VHow-tos4 comments – viewed 13,298 times – ( +38 / -6 ) – version 2.0
In Yii 1.x, there was a built in widget CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.

Ordering Models by Weight with CJuiSortable

Created 7 years ago by Matt KelliherTutorials2 comments – viewed 13,293 times – ( +10 / -1 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

ChromePHP for Yii

Created 7 years ago by imeheszTips0 comments – viewed 13,196 times – ( +3 / -3 ) – version 1.1
ChromePHP is a console logging extension for Google Chrome.

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created 3 years ago by Louis GacTutorials1 comment – viewed 13,104 times – ( +6 / -1 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

Yet another implementation of CPhpAuthManager.

Created 4 years ago by seenivasanHow-tos3 comments – viewed 13,103 times – ( +8 / -2 ) – version 1.1
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

Publish yii webapp using Git push

Created 5 years ago by rootbearHow-tos6 comments – viewed 13,094 times – ( +2 / -1 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

How to show Image view after upload and delete view image using eajaxupload extension

Created 3 years ago by Ankit ModiHow-tos0 comments – viewed 13,024 times – ( -2 ) – version all
Hi Friends, In this tutorial you can use the eajaxupload-extension ,

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 4 years ago by Ankit ModiTutorials2 comments – viewed 12,941 times – ( +2 / -1 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

Getting nulls from database instead of empty strings

Created 6 years ago by samdarkTips2 comments – viewed 12,918 times – ( +13 / -1 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null