Showing 121-140 of 652 items.

Como trasponer una lista creada con CHtml::checkBoxList

Created 14 years ago by rdjteam rdjteam, updated 14 years ago by rdjteam rdjteam. 3 comments

En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:

2 0
4
Viewed: 21 207 times
Version: 1.1
Category: Tips

Simple Multiple Environment Setup with Default Yii Installation

Created 12 years ago by Ibrar Turi Ibrar Turi, updated 12 years ago by CeBe CeBe. 2 comments

After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

2 0
8
Viewed: 21 220 times
Version: 1.1
Category: How-tos

Using Yii Gallery Manager in your Yii 1.x application

Created 11 years ago by Trejder Trejder, updated 11 years ago by Trejder Trejder. 0 comments

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1
Viewed: 21 491 times
Version: 1.1
Category: How-tos

Yii behind a reverse proxy, SSL support and correct IP logging

Created 14 years ago by mrkmg mrkmg, updated 14 years ago by mrkmg mrkmg. 0 comments

If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php

0 0
2
Viewed: 21 505 times
Version: 1.1
Category: Tips

Making friends' configs, DB credentials and paths with version control

Created 13 years ago by Alexander Palamarchuk Alexander Palamarchuk, updated 13 years ago by ajsharma ajsharma. 1 comment

In many cases developers of one project use their own local environments for coding. There may be a common test platform and, of course, production. All these environments usually have different DB credentials and directory structures (first of all, path to YII framework directory). Another feature is debugging. It's convenient to turn it on for local environments, eventually - on the test s...

1 1
4
Viewed: 21 691 times
Version: 1.1
Category: Tips