Wiki articles

Showing 81-100 of 142 items.

How to use BootstrapInterface

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

Yii2 introduces the BootstrapInterface to ease our application initialization tasks, whether they are composer based or Application bootstrap (do not mistaken with Bootstrap CSS Framework) based tasks. On this article, I am going to explain how to use it on y...

2 0
3 followers
Viewed: 12 688 times
Version: 2.0
Category: How-tos

Cómo enviar emails usando SMTP

Created 4 years ago by robregonm, updated 4 years ago by robregonm.
2 0
2 followers
Viewed: 15 100 times
Version: 2.0
Category: How-tos

Key web server settings after installing a fresh Yii 2 basic or advanced app

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

So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

2 0
46 followers
Viewed: 20 004 times
Version: 2.0
Category: Tips

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

Created 4 years ago by Antonio Ramirez, updated 4 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: 18 781 times
Version: 2.0
Category: How-tos

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

Created 5 years ago by Luis Lobo Borobia, updated a year 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 366 times
Version: all
Category: Tips

Nested Set with Yii2

Created 8 days ago by sangprabo, updated 8 days ago by sangprabo.

The nested set behaviour is an approach to store hierarchical data in relational databases. For example, if we have many categories for our product or items. One category can be a "parent" for other categories, means that one category consists of more than one category. The model can be drawn using a "tree" model. There are other approaches available but what we will learn in this article is speci...

2 0
2 followers
Viewed: 331 times
Version: 2.0
Category: Tutorials

Create Form With DynamicModel

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

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

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

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: 32 044 times
Version: 2.0
Category: How-tos

Filter & Sort by Summary Data in GridView Yii 2.0

Created 4 years ago by Kartik V, updated 4 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: 55 592 times
Version: 2.0
Category: Tutorials

Escape from Default's Yii2 Delete Confirm Box

Created 4 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: 32 922 times
Version: 2.0
Category: How-tos

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

Created 4 years ago by MadAnd, updated 3 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: 87 594 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 2 years 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: 22 304 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: 27 991 times
Version: 2.0
Category: Tutorials

Optimize Scenarios for yii2

Created 2 years ago by AndroideLP, updated 11 months ago by AndroideLP.

Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

3 0
2 followers
Viewed: 20 878 times
Version: 2.0
Category: Tutorials

Yii2 RESTful API with OAuth 2.0

Created a year ago by sirin k, updated 4 months ago by sirin k.

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

3 0
3 followers
Viewed: 33 958 times
Version: 2.0
Category: Tutorials

MongoDb's embedded documents mapping for ActiveRecord in Yii2

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

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

3 0
6 followers
Viewed: 18 114 times
Version: 2.0
Category: How-tos

Automatically get the SVN Revision Number of your Project

Created 4 years ago by jcagentzero, updated 4 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: 7 536 times
Version: all
Category: Tutorials

How to implement cron in Yii 2

Created 4 years ago by hemc, updated 4 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: 70 736 times
Version: 2.0
Category: How-tos
Tags: console, cron, yii2

Configuring different sessions for backend and frontend in Yii advanced app

Created 4 years ago by Kartik V, updated 3 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: 35 176 times
Version: 2.0
Category: How-tos

Yii2 and Pdf files with Mpdf

Created 4 years ago by CTala, updated 4 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: 21 370 times
Version: 2.0
Category: How-tos