Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 141-150 of 352 result(s).

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

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

Displaying, Sorting and Filtering Model Relations on a GridView

Updated 2 years ago by Antonio RamirezHow-tos10 comments – viewed 86,993 times – ( +39 / -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 2 years ago by Antonio RamirezHow-tos0 comments – viewed 6,163 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 2 years ago by Pedro fpHow-tos4 comments – viewed 365,544 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 2 years ago by tomvdpHow-tos0 comments – viewed 8,429 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 2 years ago by xJoseHow-tos1 comment – viewed 21,559 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 2 years ago by YiiJekaHow-tos2 comments – viewed 10,621 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 2 years ago by YiiJekaHow-tos2 comments – viewed 14,391 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Login Form With email or Whatever

Updated 2 years ago by nabil abdoualiHow-tos1 comment – viewed 12,757 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 2 years ago by hemcHow-tos10 comments – viewed 36,825 times – ( +10 ) – 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