Wiki

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

Configuring different sessions for backend and frontend in Yii advanced app

Created 4 months ago by Kartik VHow-tos0 comments – viewed 2,481 times – ( +29 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 3 months ago by Kartik VTips0 comments – viewed 1,922 times – ( +29 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Model validation for field ranges using yii2-field-range extension

Created 3 months ago by Kartik VTips0 comments – viewed 1,600 times – ( +29 ) – version 2.0
The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

Relational data fields display and edit with the yii2-detail-view extension

Created 3 months ago by Kartik VTutorials0 comments – viewed 2,080 times – ( +29 ) – version 2.0
If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

Created 3 months ago by Kartik VTutorials0 comments – viewed 2,701 times – ( +28 ) – version 2.0
The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

Using the yii2-datecontrol extension along with yii2-detail-view widget

Created 3 months ago by Kartik VHow-tos0 comments – viewed 1,415 times – ( +28 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

Nested inline active fields inside Bootstrap horizontal forms

Created 2 months ago by Kartik VHow-tos1 comment – viewed 3,153 times – ( +28 ) – version 2.0
Are you using the Bootstrap 3 form styles with Yii 2 Active Forms? Have you faced problems in displaying complex layouts which needs you to display multiple inline form fields in a single row, within bootstrap horizontal forms. Then read on.

Managing different Bootstrap form layouts with yii2-field-range extension.

Created 3 months ago by Kartik VHow-tos0 comments – viewed 2,524 times – ( +27 ) – version 2.0
This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

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

Created 7 months ago by Kartik VTutorials18 comments – viewed 13,156 times – ( +32 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Using your own forked version of extensions with composer

Created 4 months ago by Kartik VTutorials1 comment – viewed 1,272 times – ( +31 / -4 ) – version 2.0
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below: