Wiki

Articles tagged with "yii2", sorted by date (updated)X
Displaying 31-40 of 78 result(s).

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

Updated 2 years ago by Kartik VTips3 comments – viewed 100,971 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.

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Updated 3 years ago by YiiJekaHow-tos9 comments – viewed 92,730 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

Moving the vendor directory for multiple projects

Updated 3 years ago by mariosimaremareHow-tos2 comments – viewed 14,385 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

Updated 3 years ago by SreenadhHow-tos6 comments – viewed 92,028 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

Updated 3 years ago by hrnairHow-tos2 comments – viewed 26,078 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

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

Upload files in Yii2 with MongoDb and GridFs

Updated 3 years ago by skwordenHow-tos3 comments – viewed 19,667 times – ( +8 / -1 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

Simple Way to Upload and Save File

Updated 3 years ago by Misbahul D MunirTutorials0 comments – viewed 20,624 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)

Updated 3 years ago by Deepak PradhanHow-tos1 comment – viewed 26,579 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

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