Wiki

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

Escape from Default's Yii2 Delete Confirm Box

Updated 4 months ago by Antonio RamirezHow-tos3 comments – viewed 2,718 times – ( +2 ) – 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 4 months ago by Antonio RamirezHow-tos0 comments – viewed 4,064 times – ( +2 ) – 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 4 months ago by Antonio RamirezHow-tos0 comments – viewed 1,669 times – ( +1 ) – 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 4 months ago by Pedro fpHow-tos2 comments – viewed 291,829 times – ( +7 / -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 4 months ago by tomvdpHow-tos0 comments – viewed 3,066 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 4 months ago by xJoseHow-tos1 comment – viewed 12,790 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 5 months ago by YiiJekaHow-tos2 comments – viewed 5,446 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 5 months ago by YiiJekaHow-tos2 comments – viewed 7,775 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Login Form With email or Whatever

Updated 5 months ago by nabil abdoualiHow-tos1 comment – viewed 3,339 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 5 months ago by hemcHow-tos7 comments – viewed 4,409 times – ( +7 ) – 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