Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 121-130 of 341 result(s).

AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Updated about a year ago by CasteaHow-tos15 comments – viewed 58,910 times – ( +21 ) – version 1.1
AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Escape from Default's Yii2 Delete Confirm Box

Updated about a year ago by Antonio RamirezHow-tos8 comments – viewed 8,821 times – ( +6 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

Displaying, Sorting and Filtering Model Relations on a GridView

Updated about a year ago by Antonio RamirezHow-tos4 comments – viewed 26,802 times – ( +20 / -1 ) – version 2.0
One of the things you will find tricky to implement is the the sorting and filtering of a GridView's column that displays related model data.

How to use BootstrapInterface

Updated about a year ago by Antonio RamirezHow-tos0 comments – viewed 3,583 times – ( +3 ) – version 2.0
Yii2 introduces the BootstrapInterface to ease our application initialization tasks, whether they are composer based or Application bootstrap (do not mistaken with Bootstrap CSS Framework) based tasks. On this article, I am going to explain how to use it on your Application bootstrap process.

How to include Javascript, CSS

Updated about a year ago by Pedro fpHow-tos4 comments – viewed 329,577 times – ( +11 / -3 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

How to avoid a database update if the ActiveRecord was not modified

Updated about a year ago by tomvdpHow-tos0 comments – viewed 5,373 times – ( +1 ) – version 1.1
The classic Yii way for doing an update action is as follows:

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Updated about a year ago by xJoseHow-tos1 comment – viewed 17,667 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

Automatic Parameter Binding to POST vars in Yii2

Updated about a year ago by YiiJekaHow-tos2 comments – viewed 7,797 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

get summary of related model via STAT relation

Updated about a year ago by YiiJekaHow-tos2 comments – viewed 11,153 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Login Form With email or Whatever

Updated about a year ago by nabil abdoualiHow-tos1 comment – viewed 8,031 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII