Wiki articles

Showing 141-147 of 147 items.
Created 4 years ago by Kartik V, updated 3 months ago by Kabinenkoffer.

Filter & Sort by calculated/related fields in GridView Yii 2.0

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

10 2
63 followers
Viewed: 182 290 times
Version: 2.0
Category: Tutorials
Created 3 years ago by MetaCrawler, updated 2 months ago by Luis Armando.

YII2: Create console commands inside a module or extension

Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.

5 0
6 followers
Viewed: 30 014 times
Version: 2.0
Category: Tutorials
Created 5 months ago by Luis Armando, updated 2 months ago by Maurizio Domba Cerin.

Use non Gmail/Gsuite on Gcloud projects

Small companies and startups use cheap email services or even Cpanel's mail services which are less secure and compete directly with bigger email providers like Microsoft with Outlook and Google with Gmail. This creates a problem when you try to use their services to send/receive emails from this cheap services. <img width="750" src="https://static.techspot.com/fileshost/newspics3/2017/google-clo...

0 0
2 followers
Viewed: 3 929 times
Version: 2.0
Category: How-tos
Created 4 months ago by hehbhehb, updated a month 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: 4 941 times
Version: 2.0
Category: How-tos
Created a month ago by CeBe, updated a month 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...

4 0
2 followers
Viewed: 1 341 times
Version: 2.0
Category: How-tos
Created 2 months ago by Necip, updated a month 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 344 times
Version: all
Category: How-tos
Created a month ago by s.oli, updated 29 days 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: 2 380 times
Version: 2.0
Category: Tips