Wiki articles

Showing 81-100 of 145 items.

How to use yii2-authclient to communicate with Twitter using Single Access Token

Created 5 years ago by Antonio Ramirez, updated 5 years ago by Antonio Ramirez.

It is quite simple, but I am sure this small tutorial will help more than one of you out there :)

2 0
4 followers
Viewed: 19 660 times
Version: 2.0
Category: How-tos

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Created 6 years ago by Luis Lobo Borobia, updated 2 years ago by Luis Lobo Borobia.

We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

2 0
2 followers
Viewed: 8 958 times
Version: all
Category: Tips

Create Form With DynamicModel

Created 5 years ago by Misbahul D Munir, updated 5 years ago by Misbahul D Munir.

In yii2 we can create form without create FormModel. Here we go

2 0
7 followers
Viewed: 32 161 times
Version: 2.0
Category: Tips
Tags: form, model, yii2

Yii v2 snippet guide

Created 29 days ago by rackycz, updated a day ago by rackycz.

Please note, that this article will be updated regularly as I have more and more snippets so come back in a few weeks

2 0
1 follower
Viewed: 6 191 times
Version: 2.0
Category: Tutorials

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

Created 4 years ago by hrnair, updated 4 years ago by hrnair.

This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

2 0
7 followers
Viewed: 34 071 times
Version: 2.0
Category: How-tos

Filter & Sort by Summary Data in GridView Yii 2.0

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

This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

5 2
49 followers
Viewed: 57 412 times
Version: 2.0
Category: Tutorials

Debuging variables in Yii2

Created 4 years ago by johonunu, updated 4 years ago by johonunu.

This tutorial is explained following "basic" application structure.

4 1
7 followers
Viewed: 24 265 times
Version: 2.0
Category: Tips

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

Created 4 years ago by Wade Shuler, updated 4 years ago by 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...

4 1
16 followers
Viewed: 80 207 times
Version: 2.0
Category: How-tos

Escape from Default's Yii2 Delete Confirm Box

Created 5 years ago by Antonio Ramirez, updated 3 years ago by Cozumel.

If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

4 1
16 followers
Viewed: 34 696 times
Version: 2.0
Category: How-tos

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

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

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: 94 596 times
Version: 2.0
Category: How-tos

Simple revealing and hiding the password in the password field

Created 4 years ago by Bizley, updated 4 years ago by Bizley.

There are numerous usability problems:

3 0
4 followers
Viewed: 15 473 times
Version: 2.0
Category: How-tos

How to install Yii 2 advanced on a shared hosting environment

Created 3 years ago by oligalma, updated 3 months ago by oligalma.

I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

3 0
2 followers
Viewed: 24 136 times
Version: 2.0
Category: How-tos

How to create/update a model with its related items using Listbox or CheckboxList

Created 3 years ago by softark, updated a year ago by softark.

Assume we have many categories and many posts.

3 0
6 followers
Viewed: 30 207 times
Version: 2.0
Category: Tutorials

How to change GridView delete confirmation message for specific controllers only?

Created 3 years ago by AlaFalaki, updated 3 years ago by AlaFalaki.

Hello,
If you want to give extra attention for some specific delete actions and you don't want to override whole yii.confirm JS method here is what you can do:
(I've only put the ActionColumn part of the GridView here to just give you the idea)

3 0
4 followers
Viewed: 32 761 times
Version: 2.0
Category: Tips

Yii2 RESTful API with OAuth 2.0

Created 2 years ago by sirin k, updated 11 months ago by sirin k.

https://cdn.pbrd.co/images/GMN5ROs.jpg

3 0
3 followers
Viewed: 39 886 times
Version: 2.0
Category: Tutorials

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 5 years ago by edoardo849, updated 5 years ago by CeBe.

suppose to have in Mongo a collection "user" like:

3 0
6 followers
Viewed: 19 558 times
Version: 2.0
Category: How-tos

Automatically get the SVN Revision Number of your Project

Created 5 years ago by jcagentzero, updated 5 years ago by jcagentzero.

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 8 292 times
Version: all
Category: Tutorials

How to implement cron in Yii 2

Created 5 years ago by hemc, updated 5 years ago by hemc.

In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.

3 0
13 followers
Viewed: 74 907 times
Version: 2.0
Category: How-tos
Tags: console, cron, yii2

Configuring different sessions for backend and frontend in Yii advanced app

Created 5 years ago by Kartik V, updated 4 years ago by Kartik V.

Your need: You require that for shared machines, the user is authenticated again for a backend access again, if someone is logged in from frontend and vice versa.

3 0
46 followers
Viewed: 36 717 times
Version: 2.0
Category: How-tos

Yii2 and Pdf files with Mpdf

Created 5 years ago by CTala, updated 5 years ago by CTala.

I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

3 0
8 followers
Viewed: 22 248 times
Version: 2.0
Category: How-tos