Wiki

Articles tagged with "yii2"X
Displaying 21-30 of 78 result(s).

Moving the vendor directory for multiple projects

Created 3 years ago by mariosimaremareHow-tos2 comments – viewed 14,756 times – ( +5 / -2 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

Pjax on ActiveForm and GridView - Yii2

Created 3 years ago by SreenadhHow-tos6 comments – viewed 94,230 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.

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

Created 3 years ago by hrnairHow-tos2 comments – viewed 26,542 times – ( +7 / -1 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

Easy way to redirect http:\\localhost\yii2-basic to http:\\localhost\yii2-basic\web\index.php

Created 3 years ago by Scott_HuangTips0 comments – viewed 18,313 times – ( +3 / -4 ) – version 2.0
First of all, install yii2 basic template according below link:

Simple Way to Upload and Save File

Created 3 years ago by Misbahul D MunirTutorials0 comments – viewed 21,352 times – ( -3 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

Yii 2.0: Write & use a custom Component in Yii2.0 (Advanced Template)

Created 3 years ago by Deepak PradhanHow-tos1 comment – viewed 27,514 times – ( -1 ) – version 2.0
This is an extension to Yii 2.0: Write & use a custom Component in Yii2.0 for Advanced Template

Create Form With DynamicModel

Created 3 years ago by Misbahul D MunirTips4 comments – viewed 20,164 times – ( +2 / -1 ) – version 2.0
In yii2 we can create form without create FormModel. Here we go
tags: form, yii2, model

How to use imagine ( crop, thumb, effects for images ) on Yii2

Created 3 years ago by Anas AbuDayahTutorials3 comments – viewed 57,324 times – ( +8 / -1 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

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

Created 3 years ago by raminiousHow-tos15 comments – viewed 87,696 times – ( +18 / -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)

MongoDB's RBAC support class extending BaseManager

Created 3 years ago by edoardo849How-tos1 comment – viewed 7,615 times – ( -1 ) – version 2.0
Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in common\components and modify your params.php file like this:
tags: mongodb, rbac, yii2