Wiki

Articles tagged with "yii2", sorted by viewsX
Displaying 1-10 of 78 result(s).

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 4 years ago by Charles R. Portwood IITutorials7 comments – viewed 199,735 times – ( +10 / -11 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto

Displaying, Sorting and Filtering Model Relations on a GridView

Created 3 years ago by Antonio RamirezHow-tos18 comments – viewed 171,872 times – ( +46 / -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.

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 4 years ago by Kartik VTutorials25 comments – viewed 169,133 times – ( +57 / -5 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 2 years ago by skwordenHow-tos18 comments – viewed 149,978 times – ( +28 / -1 ) – version 2.0
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

Yii 2 list of path aliases available with default basic and advanced app.

Created 3 years ago by Kartik VTips3 comments – viewed 106,641 times – ( +53 / -6 ) – version 2.0
If you are coming over from Yii 1.x to Yii 2, and already read this guide, you may note that namespaces are very important in Yii 2 to identify classes. But do you know the list of seeded path aliases that come shipped with a basic or advanced app? Here is my attempt to list them.

Pjax on ActiveForm and GridView - Yii2

Created 3 years ago by SreenadhHow-tos6 comments – viewed 95,897 times – ( +13 / -1 ) – version 2.0
Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 3 years ago by ThePr0f3550rHow-tos9 comments – viewed 94,836 times – ( +16 / -2 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

How to hide /frontend/web in url addresses on apache

Created 3 years ago by raminiousHow-tos15 comments – viewed 88,816 times – ( +19 / -1 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

Write & use a custom Component in Yii2.0

Created 3 years ago by sirin kHow-tos4 comments – viewed 79,233 times – ( +18 / -1 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

Creating a Dependent Dropdown From Scratch in Yii2

Created 3 years ago by ThePr0f3550rHow-tos4 comments – viewed 79,097 times – ( +8 / -2 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I can't implement it in Yii2 because Yii2 does not have built-in AJAX functionality hem.. I searched about it and came across this post