Wiki articles

Showing 141-160 of 166 items.
4 0
3 followers
Viewed: 114 762 times
Version: 2.0
Category: Tutorials

Yii2 - Upgrading to Bootstrap 4

Created 6 years ago by Richard Pillay Richard Pillay, updated 5 years ago by Richard Pillay Richard Pillay.

Yii2 - Converting from Bootstrap3 to Bootstrap4

12 0
6 followers
Viewed: 116 743 times
Version: 2.0
Category: How-tos

How to learn Yii?!

Created 14 years ago by yJeroen yJeroen, updated 6 years ago by CeBe CeBe.

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: 127 508 times
Version: all
Category: Tutorials

Installation guide: Yii-2 advanced template with RBAC system

Created 9 years ago by Sherin Jose Sherin Jose, updated 9 years ago by Sherin Jose Sherin Jose.

Welcome, all of you !

10 1
19 followers
Viewed: 128 509 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2

Write & use a custom Component in Yii2.0

Created 11 years ago by sirin k sirin k, updated 8 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

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)

14 0
11 followers
Viewed: 129 154 times
Version: 2.0
Category: How-tos

How to redirect all emails to one inbox on Yii2 applications

Created 5 years ago by Gabriel A. López López Gabriel A. López López.

\yii\mail\BaseMailer::useFileTransport is a great tool. If you activate it, all emails sent trough this mailer will be saved (by default) on @runtime/mail instead of being sent, allowing the devs to inspect thre result.

6 0
4 followers
Viewed: 129 823 times
Version: 2.0
Category: How-tos

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

Created 10 years ago by Wade Shuler Wade Shuler, updated 10 years ago by samdark samdark.

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...

9 1
18 followers
Viewed: 132 280 times
Version: 2.0
Category: How-tos

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

Created 11 years ago by raminious raminious, updated 11 years ago by jim. jim..

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)

11 0
22 followers
Viewed: 133 435 times
Version: 2.0
Category: How-tos

Create Bootstrap5 based Image carousel with thumbnails

Created 2 years ago by pravi pravi, updated 2 years ago by pravi pravi.

Use the following css styles for carousel to work as expected.

3 0
1 follower
Viewed: 134 849 times
Version: 2.0
Category: Tutorials

How to Create and Use Validator Using Regular expressions

Created 3 years ago by aayushmhu aayushmhu.

There are Multiple Ways to Create a Validator But here we use Regular Expression or JavaScript Regular Expression or RegExp for Creation Validators. In this article, we will see the most Frequently Used Expression

4 0
1 follower
Viewed: 135 972 times
Version: 2.0
Category: How-tos

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 11 years ago by ThePr0f3550r ThePr0f3550r, updated 11 years ago by YiiJeka YiiJeka.

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"

9 0
22 followers
Viewed: 138 232 times
Version: 2.0
Category: How-tos

How to send emails using SMTP

Created 11 years ago by robregonm robregonm, updated 6 years ago by Wade Shuler Wade Shuler.
6 0
11 followers
Viewed: 145 367 times
Version: 2.0
Category: How-tos

Building a REST API in Yii2.0

Created 11 years ago by sirin k sirin k, updated 8 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

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

4 0
16 followers
Viewed: 154 941 times
Version: 2.0
Category: Tutorials

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

Created 10 years ago by MadAnd MadAnd, updated 4 years ago by QuPsi QuPsi.

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.

4 0
14 followers
Viewed: 155 741 times
Version: 2.0
Category: How-tos

Creating a Dependent Dropdown From Scratch in Yii2

Created 11 years ago by ThePr0f3550r ThePr0f3550r, updated 8 years ago by alrazi alrazi.

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

4 1
12 followers
Viewed: 167 720 times
Version: 2.0
Category: How-tos

Pjax on ActiveForm and GridView - Yii2

Created 11 years ago by Sreenadh Sreenadh, updated 11 years ago by Sreenadh Sreenadh.

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

7 0
16 followers
Viewed: 173 314 times
Version: 2.0
Category: How-tos

JWT authentication tutorial

Created 4 years ago by Allan Jensen Allan Jensen, updated 4 years ago by Allan Jensen Allan Jensen.

JWT is short for JSON Web Token. It is used eg. instead of sessions to maintain a login in a browser that is talking to an API - since browser sessions are vulnerable to CSRF security issues. JWT is also less complicated than setting up an OAuth authentication mechanism.

14 0
8 followers
Viewed: 180 231 times
Version: 2.0
Category: Tutorials

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V.

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: 183 111 times
Version: 2.0
Category: How-tos

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V.

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.

15 4
45 followers
Viewed: 189 278 times
Version: 2.0
Category: Tips

Yii v2 snippet guide III

Created 5 years ago by rackycz rackycz, updated 6 months ago by rackycz rackycz.

Articles are separated into more files as there is the max lenght for each file on wiki.

8 0
4 followers
Viewed: 244 332 times
Version: 2.0
Category: Tutorials