Wiki

Sorted by viewsX
Displaying 491-500 of 770 result(s).

CGridView Date Range Without Cookies or Session (External Filtering)

Created 2 years ago by ezekielnoobHow-tos6 comments – viewed 11,384 times – ( +5 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

How to pass the third parameter to UserIdentity on login authentication

Created about a year ago by Rohit SutharHow-tos6 comments – viewed 11,383 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.

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created about a year ago by Kartik VTips2 comments – viewed 11,367 times – ( +48 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Limit a CGridView field to some preset length.

Created 3 years ago by le_topHow-tos1 comment – viewed 11,303 times – ( +13 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

Running applications with Docker

Created about a year ago by schmunkTutorials1 comment – viewed 11,299 times – ( +7 ) – version 2.0
When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

Yii code completion and calltips in Komodo Edit

Created 5 years ago by viterTips1 comment – viewed 11,203 times – ( +6 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit

How to catch and log MySQL deadlock errors

Created 4 years ago by sebTips1 comment – viewed 11,188 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database

Book Has Author - Many to Many relations using Kartik\Select2

Created about a year ago by thiagoc7How-tos2 comments – viewed 11,145 times – ( +3 ) – version 2.0
I could make this work following same useful tips from this post.

Display image on CGridView column and open a fancy-box

Created 2 years ago by Ankit ModiTutorials0 comments – viewed 11,144 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page

Display Status image on CGridView column

Created 2 years ago by Ankit ModiTutorials1 comment – viewed 11,138 times – ( +2 / -1 ) – version all
How to display status image on admin gridview.