Articles tagged with "yii2"X
Displaying 1-10 of 55 result(s).

Simple Way to Upload and Save File

Created 6 days ago by Misbahul D MunirTutorials0 comments – viewed 1,197 times – 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 7 days ago by Deepak PradhanHow-tos0 comments – viewed 1,078 times – 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 7 days ago by Misbahul D MunirTips2 comments – viewed 1,074 times – 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 10 days ago by Anas AbuDayahTutorials0 comments – viewed 1,153 times – ( +4 ) – 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 25 days ago by raminiousHow-tos6 comments – viewed 25,116 times – ( +9 ) – 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 26 days ago by edoardo849How-tos1 comment – viewed 1,823 times – 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

How to implement form events

Created about a month ago by Antonio RamirezHow-tos4 comments – viewed 2,374 times – ( +5 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to

Write & use a custom Component in Yii2.0

Created about a month ago by sirin kHow-tos0 comments – viewed 2,294 times – ( +7 ) – 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)

Role Management

Created 2 months ago by Dency G BHow-tos0 comments – viewed 2,872 times – ( +2 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Expert's model generation with Gii

Created 3 months ago by le_topTips0 comments – viewed 2,992 times – ( +3 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.