Wiki

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

Update related models of a model using listBox and checkBoxList in the form

Created 10 months ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 6,833 times – ( +2 ) – version 1.1
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that

Update specific cgridview html row after AJAX request

Created 10 months ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 6,793 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)

Login Form With email or Whatever

Created 11 months ago by nabil abdoualiHow-tos1 comment – viewed 6,778 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

Configuring different sessions for backend and frontend in Yii advanced app

Created 10 months ago by Kartik VHow-tos1 comment – viewed 6,768 times – ( +41 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 6,765 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Syntax check

Created 3 years ago by Russell EnglandTips2 comments – viewed 6,741 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

TimeZone dropDown

Created 2 years ago by Tibor KatelbachHow-tos0 comments – viewed 6,715 times – ( +2 ) – version 1.1
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

How to add an analogue clock widget on your skeleton application

Created 4 years ago by mocapapaTutorials0 comments – viewed 6,710 times – ( +1 ) – version 1.1
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

two or more different collected data in one CGridView

Created about a year ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 6,653 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

[PT-BR] Proteção Contra Logout CSRF

Created 3 years ago by Rodrigo CoelhoTutorials0 comments – viewed 6,651 times – ( +2 / -1 ) – version 1.1
CSRF é o acrônimo para Cross-site request forgery. CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.