Wiki

Sorted by viewsX
Displaying 531-540 of 751 result(s).

Serial Numbers (item counts) in GridView

Created 2 years ago by PeRoChAkHow-tos3 comments – viewed 7,896 times – ( +1 ) – version 1.1
Sometime we need to display numbers of items per page with their counting as a serial number.

How to pass the third parameter to UserIdentity on login authentication

Created 7 months ago by Rohit SutharHow-tos6 comments – viewed 7,895 times – ( +2 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

Handling recursive deletion in Yii

Created 2 years ago by JamesBarnsleyHow-tos3 comments – viewed 7,842 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

History Autocomplete

Created 3 years ago by zaccariaHow-tos2 comments – viewed 7,841 times – ( +3 ) – version 1.1
In application development we often have to choose how to mange recurrent values.
tags: autocomplete

Autocomplete in console command

Created 3 years ago by StammTutorials1 comment – viewed 7,830 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

Update specific cgridview html row after AJAX request

Created about a year ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 7,826 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

WordPress Role Based Authentication in Yii

Created about a year ago by Bob GTutorials0 comments – viewed 7,814 times – ( +4 / -1 ) – version 1.1
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.

Automatic Parameter Binding to POST vars in Yii2

Created about a year ago by aarondfrancisHow-tos2 comments – viewed 7,804 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

Using phpseclib with Yii

Created 2 years ago by nkdHow-tos8 comments – viewed 7,667 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

how to use github (un)official extension repo in your Yii project

Created 3 years ago by RusAlexTips4 comments – viewed 7,664 times – ( +4 ) – version 1.1
Using a git submodule command in your yii project