Wiki articles

Showing 121-140 of 140 items.
Created 4 years ago by Anas AbuDayah, updated 3 years ago by Cozumel.

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

Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

5 0
13 followers
Viewed: 70 473 times
Version: 2.0
Category: Tutorials
Created 2 years ago by darioo, updated 2 years ago by darioo.

Show raw SQL query

Here's a quick tip to dump the SQL for query.

9 0
4 followers
Viewed: 72 247 times
Version: 2.0
Category: FAQs
Created 4 years ago by evercode, updated 4 years ago by evercode.

RBAC Super Simple with Admin and User

One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for devel...

6 1
14 followers
Viewed: 74 691 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Wade Shuler, updated 3 years ago by samdark.

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...

3 1
15 followers
Viewed: 75 293 times
Version: 2.0
Category: How-tos
Created 2 years ago by Sherin Jose, updated 2 years ago by Sherin Jose.

Installation guide: Yii-2 advanced template with RBAC system

Welcome, all of you !

7 1
19 followers
Viewed: 76 886 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2
Created 4 years ago by robregonm, updated 4 years ago by robregonm.

How to send emails using SMTP

5 0
8 followers
Viewed: 84 853 times
Version: 2.0
Category: How-tos
Created 3 years ago by MadAnd, updated 2 months ago by MadAnd.

yii2-app-advanced on single domain (Apache, Nginx)

If you develop rather complex applications with Yii2, you might already be familiar with yii2-app-advanced application template. Well, the template is awesome and provides high flexibility regarding code/configuration sharing among parts of an application.

3 0
13 followers
Viewed: 86 076 times
Version: 2.0
Category: How-tos
Created 4 years ago by sirin k, updated a year ago by Maurizio Domba Cerin.

Write & use a custom Component in Yii2.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)

12 0
11 followers
Viewed: 92 739 times
Version: 2.0
Category: How-tos
Created 7 years ago by yJeroen, updated 10 months ago by CeBe.

How to learn Yii?!

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 94 868 times
Version: all
Category: Tutorials
Created 4 years ago by ThePr0f3550r, updated a year ago by alrazi.

Creating a Dependent Dropdown From Scratch in Yii2

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

3 1
11 followers
Viewed: 96 190 times
Version: 2.0
Category: How-tos
Created 4 years ago by raminious, updated 4 years ago by jim..

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

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)

8 0
19 followers
Viewed: 98 063 times
Version: 2.0
Category: How-tos
Created 4 years ago by ThePr0f3550r, updated 4 years ago by YiiJeka.

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

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"

8 0
22 followers
Viewed: 106 553 times
Version: 2.0
Category: How-tos
Created 4 years ago by Sreenadh, updated 4 years ago by Sreenadh.

Pjax on ActiveForm and GridView - Yii2

Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

5 0
13 followers
Viewed: 114 250 times
Version: 2.0
Category: How-tos
Created 4 years ago by sirin k, updated a year ago by Maurizio Domba Cerin.

Building a REST API in Yii2.0

This is wiki page is useful if you are trying to build a customized REST API in Yii2.0

4 0
16 followers
Viewed: 123 659 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

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

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.

10 3
47 followers
Viewed: 128 564 times
Version: 2.0
Category: Tips
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Save and Display Date/Time Fields in different formats in Yii2

You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

0 0
51 followers
Viewed: 138 111 times
Version: 2.0
Category: How-tos
Created 3 years ago by skworden, updated 10 months ago by Yii3.

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

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.

16 0
26 followers
Viewed: 176 324 times
Version: 2.0
Category: How-tos
Created 5 years ago by Kartik V, updated 8 months ago by Kabinenkoffer.

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

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

11 2
63 followers
Viewed: 188 806 times
Version: 2.0
Category: Tutorials
Created 5 years ago by Charles R. Portwood II, updated 4 years ago by Vivek.

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

By popular demand, today I will be revisiting my previous Yii Framework 2 Getting Started Guide and updating it with what is currently available in the Yii Framework 2 Repository. Provide here is an super simple example CRUD application that will help you get started using the framework.

7 6
21 followers
Viewed: 212 552 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Antonio Ramirez, updated 4 years ago by Antonio Ramirez.

Displaying, Sorting and Filtering Model Relations on a GridView

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.

27 0
29 followers
Viewed: 231 223 times
Version: 2.0
Category: How-tos