Wiki

Sorted by viewsX
Displaying 421-430 of 467 result(s).

TimeZone dropDown

Created 5 months ago by Tibor KatelbachHow-tos0 comments – viewed 3,146 times – ( +1 )
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Yiinitializr: The Library

Created 28 days ago by Antonio RamirezOthers4 comments – viewed 3,141 times – ( +10 )
Introduction

How to use the official Yii installer for Composer

Created about a month ago by br0skHow-tos3 comments – viewed 3,094 times – ( +3 )
This way of using Composer is different from the Phundament 3 based wiki in that it is using the new official Composer installer for Yii. It is also only making use of Packagist not the packages at packages.phundament.com. This wiki doesn't aim to replace the Phundament 3 based wiki it is just another way of doing it and I really like the fact that it can use Packagist directly and not a separate repository.

Access log output from unit tests

Created 11 months ago by MikeTips2 comments – viewed 2,995 times – ( +2 )
Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.

How to Setting Layouts in Yii

Created 9 days ago by ruderbytesHow-tos1 comment – viewed 2,981 times – ( +2 / -3 )
usually someone confused to make layouts in yii.

ePay Integration - Bulgarian Payment Provider

Created 4 months ago by yasenTutorials2 comments – viewed 2,934 times – ( +6 )
I. In the view script add the following hidden fields:

Alternative wildcard characters CDbCriteria

Created 10 months ago by maigretHow-tos0 comments – viewed 2,928 times – ( +1 )
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $wildcard_chars to the method addSearchCondition to replace them if needed with standard SQL characters:

PHPStorm & NetBeans autocomplete problem

Created 2 months ago by StagelineTips0 comments – viewed 2,926 times – ( +16 )
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

Solution for session lose of Facebook iframe application in Internet Explorer .

Created 8 months ago by sirin kTips0 comments – viewed 2,851 times – ( +2 )
Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.