Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 71-80 of 249 result(s).

YII SaaS Multi Tenant application with single database

Updated 2 years ago by xJoseTutorials5 comments – viewed 14,295 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

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

Updated 2 years ago by codesutraTutorials11 comments – viewed 48,712 times – ( +6 ) – 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 2 years ago by Kostas Apazidis (KonApaz)Tutorials0 comments – viewed 4,135 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 2 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 16,132 times – ( +1 / -7 ) – 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 2 years ago by Kostas Apazidis (KonApaz)Tutorials5 comments – viewed 4,824 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 2 years ago by Kartik VTutorials6 comments – viewed 30,931 times – ( +39 / -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 2 years ago by Rajith RTutorials1 comment – viewed 33,984 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 178,029 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 98,513 times – ( +55 / -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 16,614 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.