Wiki articles

Showing 141-148 of 148 items.
Created 6 months ago by CeBe, updated 5 months ago by CeBe.

Configuring PhpStorm IDE for Yii 2

There are a few settings and plugins that can enhance the development experience with Yii in PHPStorm or IntelliJ IDEA. This article explains how to get the most out of your IDE.

10 0
6 followers
Viewed: 11 519 times
Version: 2.0
Category: Tips
Created 5 months ago by hehbhehb, updated 2 months ago by CeBe.

Pjax GridView: refresh page after delete

Normally, after clicking the delete button in gridview, the record will be deleted and the page will refresh, but the page number in query string is lost. This is not always the case we expect.

5 0
2 followers
Viewed: 6 080 times
Version: 2.0
Category: How-tos
Created 3 months ago by Necip, updated 2 months ago by Necip.

An alternative way to ElasticSearch

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2 followers
Viewed: 2 949 times
Version: all
Category: How-tos
Created 2 months ago by s.oli, updated a month ago by samdark.

How to organize Design "things" in Yii 2 (themes and layout)

Sometimes the App needs a nicer look & feel, so its necessary to organize the assets for this and Yii can help a lot to make it easy. In this article I provide tips for handling multiple "Designs". I use these three features:

1 0
2 followers
Viewed: 3 580 times
Version: 2.0
Category: Tips
Created 2 months ago by CeBe, updated 2 months ago by CeBe.

Getting information from the current locale

Yii 2.0 comes with a formatter component to format dates, numbers, and other values for international users according to their locale. This is very useful for displaying data. When working with incoming data or when using enhanced input methods like the [MaskedInput widget](https://www.yiiframework.com/doc/api/2.0/yii-widgets-maskedinp...

5 0
2 followers
Viewed: 1 710 times
Version: 2.0
Category: How-tos
Created 2 months ago by samdark.

When to use Active Record

When to use Active Record is a common question among developers, Yii and overall.

6 0
2 followers
Viewed: 5 447 times
Version: all
Category: FAQs
Created a month ago by Daniel.

Update and Delete buttons on Breadcrumb

The definition of breadcrumbs according to its documentation is as follow: Breadcrumbs displays a list of links indicating the position of the current page in the whole site hierarchy.

0 0
1 follower
Viewed: 1 468 times
Version: 2.0
Category: Tips
Created 10 days ago by samdark.

Using multiple models in an identity

Let's assume we have two models: Customer and Supplier and we want both to log in. Yii is quite flexible when it comes to authentication and authorization so it's possible.

2 0
1 follower
Viewed: 888 times
Version: 2.0
Category: How-tos