Wiki

Articles in category "tips"X
Displaying 1-10 of 151 result(s).

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

Created 4 months ago by AlaFalakiTips0 comments – viewed 5,462 times – ( +1 ) – version 2.0
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)

Yii2: Query build for complexity SQL

Created 8 months ago by Scott_HuangTips0 comments – viewed 5,515 times – version 2.0
As for complexity SQL query we have two solutions as below, I will discuss #2 in this article.

Load & Save With Relation

Created about a year ago by moo.tensaiTips0 comments – viewed 6,155 times – ( +2 ) – version 2.0
Use this extension : yii2-relation-trait

Building a search GET request with scenarios ; calling a SearchModel from URLs...

Created about a year ago by Louis GacTips0 comments – viewed 5,786 times – ( +1 ) – version 2.0
Search Models are a very elegant and powerful way to build an Active Data Provider. If you use them a lot, you'll quickly need to use scenarios, which will lead you to a very DRY Controller code.
tags: search, get, Scenarios

Customize your Growl/Alert msg easy and quickly

Created about a year ago by Scott_HuangTips0 comments – viewed 4,152 times – ( +3 / -1 ) – version 2.0
I leverage Kartik's notification widgets.

Using PayPal IPN with Yii2

Created about a year ago by dariooTips0 comments – viewed 4,463 times – version 2.0
I'm using PayPal's script from

Things to Consider when application hosting on AppFog

Created about a year ago by VINAY Kr. SHARMATips0 comments – viewed 2,597 times – ( +1 ) – version 1.1
I faced many issues when hosted our company website on AppFog.

Debuging variables in Yii2

Created about a year ago by johonunuTips3 comments – viewed 8,394 times – ( +2 / -1 ) – version 2.0
This tutorial is explained following "basic" application structure.

Selecting best language based on Browser language and available languages.

Created about a year ago by le_topTips0 comments – viewed 4,271 times – ( +2 ) – version 1.1
Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

YII2 Pagination Options

Created about a year ago by VivekYiiTips0 comments – viewed 5,064 times – ( +1 ) – version 2.0
solution here If we are using default pagination option like
tags: pagination, View, vivs