Wiki

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

Using PayPal IPN with Yii2

Created 2 years ago by dariooTips0 comments – viewed 6,197 times – ( -1 ) – 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 4 years ago by Ankit ModiTips0 comments – viewed 25,129 times – ( -3 )
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 2 years ago by Scott_HuangTips0 comments – viewed 6,252 times – ( +3 / -2 ) – version 2.0
I leverage Kartik's notification widgets.

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

Created 4 years ago by Ankit ModiTips0 comments – viewed 17,921 times – ( +3 / -1 ) – version 1.1
Hi Friends,

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

Created 2 years ago by Louis GacTips0 comments – viewed 8,770 times – ( +1 / -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 2 years ago by moo.tensaiTips0 comments – viewed 8,008 times – ( +2 / -1 ) – version 2.0
Use this extension : yii2-relation-trait

Yii2: Query build for complexity SQL

Created about a year ago by Scott_HuangTips0 comments – viewed 8,186 times – ( -1 ) – 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 3 years ago by Sharon LavieTips0 comments – viewed 9,440 times – ( +1 / -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 3 years ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 6,541 times – ( +2 / -1 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

Yiistrap TbHtml::navbarSearchForm

Created 3 years ago by PatriceTips0 comments – viewed 9,868 times – ( -1 ) – version 1.1
Hi all,