Wiki

Sorted by viewsX
Displaying 501-510 of 784 result(s).

PHPStorm & NetBeans autocomplete problem

Created 4 years ago by StagelineTips3 comments – viewed 13,465 times – ( +24 / -1 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

Yii HMVC

Created 3 years ago by ezekielnoobHow-tos6 comments – viewed 13,403 times – ( +5 / -2 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created 5 years ago by samdarkHow-tos1 comment – viewed 13,398 times – ( +21 / -1 ) – version 1.1
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created 2 years ago by Scott_HuangHow-tos1 comment – viewed 13,351 times – ( +5 / -1 ) – version 2.0
1. Create Extension in yii2.

How to create Module based Login

Created 3 years ago by Ibrar TuriHow-tos1 comment – viewed 13,319 times – ( +3 / -1 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

CGridView Date Range Without Cookies or Session (External Filtering)

Created 3 years ago by ezekielnoobHow-tos6 comments – viewed 13,308 times – ( +5 / -1 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

Debuging variables in Yii2

Created 2 years ago by johonunuTips3 comments – viewed 13,238 times – ( +2 / -2 ) – version 2.0
This tutorial is explained following "basic" application structure.

Using sub query for doubletts

Created 4 years ago by mbTips3 comments – viewed 13,217 times – ( +2 / -1 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

URL component access functions

Created 6 years ago by Steve FriedlTips1 comment – viewed 13,190 times – ( +28 / -1 ) – version 1.1
Many applications wish to obtain parts of the URL for the current page (the hostname, the query string, etc.), and the CHttpRequest class wraps various $_SERVER variables to break down the URL into its constituent parts.
tags: URL, request

Bootstrap Yii cGridView add popup button

Created 3 years ago by Arockia JohnsonHow-tos6 comments – viewed 13,187 times – ( +4 / -1 ) – version 1.1
Hi,