Wiki articles

Showing 141-149 of 149 items.
Created 8 months ago by CeBe, updated 7 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: 14 122 times
Version: 2.0
Category: Tips
Created 6 months ago by hehbhehb, updated 4 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: 8 357 times
Version: 2.0
Category: How-tos
Created 5 months ago by Necip, updated 3 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: 4 330 times
Version: all
Category: How-tos
Created 4 months ago by s.oli, updated 3 months 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: 5 649 times
Version: 2.0
Category: Tips
Created 4 months ago by CeBe, updated 4 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: 2 556 times
Version: 2.0
Category: How-tos
Created 4 months ago by samdark.

When to use Active Record

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

8 0
2 followers
Viewed: 9 193 times
Version: all
Category: FAQs
Created 2 months 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: 5 208 times
Version: 2.0
Category: Tips
Created 2 months 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.

4 0
1 follower
Viewed: 5 420 times
Version: 2.0
Category: How-tos
Created 19 days ago by toaster, updated 16 days ago by toaster.

Batch Gridview data ajax send splitted in chunks displaying bootstrap Progress bar

The scenario in which this wiki can be useful is when you have to send an (huge) array of model ids and perform a time consuming computation with it like linking every model to other models. The idea is to split the array into smaller arrays and perform sequential ajax requests, showing the calculation progress using a [Bootstrap Progress bar](https://www.yiiframework.com/extension/yiisoft/yii2-bo...

1 0
1 follower
Viewed: 842 times
Version: 2.0
Category: Tutorials