Wiki

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

shortcut/usefull access roles methods RBAC

Updated 3 years ago by Kostas Apazidis (KonApaz)Tutorials5 comments – viewed 7,106 times – ( +1 / -1 ) – version 1.1
These are functions that I used very often, may helps you!

Filter & Sort by Summary Data in GridView Yii 2.0

Updated 3 years ago by Kartik VTutorials7 comments – viewed 45,581 times – ( +40 / -5 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Simple Ajax popup

Updated 3 years ago by Rajith RTutorials1 comment – viewed 38,660 times – ( +11 / -14 ) – version 1.1
Simple Ajax popup view with Ajax link

Searching and sorting by related model in CGridView

Updated 3 years ago by Kostas Apazidis (KonApaz)Tutorials86 comments – viewed 200,809 times – ( +126 / -1 ) – 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 3 years ago by Kartik VTutorials25 comments – viewed 160,912 times – ( +57 / -5 ) – 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 3 years ago by Kartik VTutorials6 comments – viewed 26,395 times – ( +37 / -6 ) – 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 3 years ago by Kartik VTutorials0 comments – viewed 7,984 times – ( +39 / -5 ) – 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 3 years ago by Kartik VTutorials0 comments – viewed 20,539 times – ( +39 / -6 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

Log Activity in DataBase

Updated 3 years ago by mahdi1986Tutorials7 comments – viewed 20,015 times – ( +8 / -1 ) – 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 3 years ago by MaxxerTutorials4 comments – viewed 37,176 times – ( +6 / -1 ) – 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