Articles in category "how-tos", sorted by date (updated)X
Displaying 91-100 of 320 result(s).

Escape from Default's Yii2 Delete Confirm Box

Updated 7 months ago by Antonio RamirezHow-tos5 comments – viewed 4,003 times – ( +5 ) – 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 7 months ago by Antonio RamirezHow-tos2 comments – viewed 7,480 times – ( +7 ) – 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 7 months ago by Antonio RamirezHow-tos0 comments – viewed 2,077 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 7 months ago by Pedro fpHow-tos2 comments – viewed 302,356 times – ( +9 / -2 ) – 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 7 months ago by tomvdpHow-tos0 comments – viewed 3,826 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 7 months ago by xJoseHow-tos1 comment – viewed 14,397 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 7 months ago by YiiJekaHow-tos2 comments – viewed 6,119 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 7 months ago by YiiJekaHow-tos2 comments – viewed 8,740 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Login Form With email or Whatever

Updated 7 months ago by nabil abdoualiHow-tos1 comment – viewed 4,731 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

How to implement cron in Yii 2

Updated 7 months ago by hemcHow-tos8 comments – viewed 6,139 times – ( +8 ) – version 2.0
In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
tags: cron, yii2, console