Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 41-50 of 234 result(s).

Create / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Updated 4 months ago by codesutraTutorials11 comments – viewed 27,289 times – ( +4 ) – version 1.1
Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.

Insert data from database to another database table

Updated 4 months ago by KonApazTutorials0 comments – viewed 1,697 times – ( +1 ) – version 1.1
According to below wiki we could migrate database schema to another database

Save or Update Multiple related model values in one Tabular input form

Updated 5 months ago by KonApazTutorials4 comments – viewed 3,883 times – ( +1 / -6 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

shortcut/usefull access roles methods RBAC

Updated 5 months ago by KonApazTutorials5 comments – viewed 1,795 times – ( +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 5 months ago by Kartik VTutorials5 comments – viewed 4,649 times – ( +27 / -4 ) – 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 5 months ago by Rajith RTutorials1 comment – viewed 21,351 times – ( +11 / -13 ) – version 1.1
Simple Ajax popup view with Ajax link

Searching and sorting by related model in CGridView

Updated 5 months ago by KonApazTutorials75 comments – viewed 126,847 times – ( +112 ) – 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 5 months ago by Kartik VTutorials19 comments – viewed 15,507 times – ( +34 / -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 5 months ago by Kartik VTutorials4 comments – viewed 3,622 times – ( +28 / -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 5 months ago by Kartik VTutorials0 comments – viewed 2,035 times – ( +29 / -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: