Wiki

Sorted by commentsX
Displaying 291-300 of 719 result(s).

How to setup yiic on WAMP (XP/Vista)

Created 5 years ago by krillzipTutorials3 comments – viewed 68,990 times – ( +2 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

How to hide index.php on nginx

Created 5 years ago by milesTutorials3 comments – viewed 42,005 times – ( +4 ) – version 1.1
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL

How to re enable logging during unit testing

Created 3 years ago by AsgarothHow-tos3 comments – viewed 11,817 times – ( +11 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

How to access a component of a module from within the module itself

Created 5 years ago by OriginalCopyTutorials3 comments – viewed 21,885 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

How to create/save more Model inputs and make them repeatable with jQuery

Created 5 years ago by qiangTutorials3 comments – viewed 34,460 times – ( +12 ) – version 1.1
This is the first real problem that I encountered using Yii, trying to make a Model input repeatable in the form, validate and save them.

The Comedy of Errors

Created 3 years ago by fsbOthers3 comments – viewed 7,600 times – ( +20 ) – version 1.1
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

Use application on production/development environment without making changes

Created 3 years ago by ifdatticTips3 comments – viewed 32,373 times – ( +8 / -1 ) – version 1.1
I like programing on my localhost, however it really bugged me to make changes to index.php & config files on my production server. After combining all available wiki articles on this topic and some trial and error this is what I use for my applications so I could just upload it to production server and it will work without any changes.

Secure password hashing with bCrypt

Created 3 years ago by waitforitHow-tos3 comments – viewed 19,079 times – ( +9 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 2 years ago by c@cbaHow-tos3 comments – viewed 25,439 times – ( +14 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

How to extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

Created 2 years ago by c@cbaHow-tos3 comments – viewed 9,641 times – ( +9 ) – version 1.1
As you know, the CDetailView widget displays details of a single model. If no formatting is specified, boolean values that are stored in the database as 0 and 1, are represented in the detail view as 0 and 1. If formatted as boolean, they are represented as 'No' and 'Yes'. We want to add i18n support, so that Yes and No appear in the current language.