Wiki

Articles in category "tips", sorted by commentsX
Displaying 111-120 of 153 result(s).

Using PayPal IPN with Yii2

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

How to call a default layout for every module and how to work <php echo $content; ?>

Created 3 years ago by Ankit ModiTips0 comments – viewed 21,361 times – ( -2 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

Customize your Growl/Alert msg easy and quickly

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

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created 3 years ago by Ankit ModiTips0 comments – viewed 15,151 times – ( +3 ) – version 1.1
Hi Friends,

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

Created about a year ago by Louis GacTips0 comments – viewed 6,303 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

Load & Save With Relation

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

Yii2: Query build for complexity SQL

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

Multi Data Provider

Created 2 years ago by Sharon LavieTips0 comments – viewed 8,043 times – ( +1 ) – version 1.1
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

Set a menu - reusable code

Created 2 years ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 5,649 times – ( +2 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

Boost composer-asset-plugin update speed

Created about a month ago by schmunkTips0 comments – viewed 3,795 times – ( +5 ) – version 2.0
If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.