Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 81-90 of 253 result(s).

Simple Ajax popup

Updated 2 years ago by Rajith RTutorials1 comment – viewed 35,988 times – ( +11 / -13 ) – version 1.1
Simple Ajax popup view with Ajax link

Searching and sorting by related model in CGridView

Updated 2 years ago by Kostas Apazidis (KonApaz)Tutorials86 comments – viewed 186,932 times – ( +126 ) – version 1.1
Lets say we have two models and relation between them:

Filter & Sort by calculated/related fields in GridView Yii 2.0

Updated 2 years ago by Kartik VTutorials23 comments – viewed 123,404 times – ( +56 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Managing your nested dropdown dependency with DepDrop widget

Updated 2 years ago by Kartik VTutorials6 comments – viewed 20,533 times – ( +37 / -5 ) – version 2.0
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

How to store array/widget configuration to the database with config validation rules

Updated 2 years ago by Kartik VTutorials0 comments – viewed 6,335 times – ( +39 / -4 ) – version 2.0
You may have scenarios, where you want to store a specific array configuration to the database. A classic example could be saving Yii widget configuration to the database and then retrieving it at runtime, with dynamic parameters set. This wiki discusses one of the approaches to do this. Let's consider you have something like the NavBar configuration below to store in the db:

What to do when composer fails to update your vendor packages?

Updated 2 years ago by Kartik VTutorials0 comments – viewed 16,109 times – ( +38 / -5 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

Log Activity in DataBase

Updated 2 years ago by mahdi1986Tutorials6 comments – viewed 17,727 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

Ajax Login form with validation errors inside jQuery modal dialog

Updated 2 years ago by MaxxerTutorials4 comments – viewed 34,842 times – ( +6 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Updated 2 years ago by VivekTutorials7 comments – viewed 183,943 times – ( +10 / -10 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto