Sorted by ratingX
Displaying 571-580 of 761 result(s).

Yii 1.1: How To add id or class to CMenu items ?

Created about a year ago by Louis GacHow-tos0 comments – viewed 8,081 times – ( +2 ) – version 1.1
CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

an easy way to required multi columns(At least one cannot be blank)

Created 4 years ago by 1065227709Tips0 comments – viewed 5,779 times – ( +2 ) – version 1.1
in model add the following code:
tags: rules

Enhance security of cookie-based login

Created about a year ago by darkheirHow-tos0 comments – viewed 5,401 times – ( +2 ) – version 1.1
Enhance security of cookie-based login

Role Management

Created about a year ago by Dency G BHow-tos0 comments – viewed 7,227 times – ( +2 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Logging to Heroku's logs from Yii

Created 2 years ago by aarondfrancisHow-tos0 comments – viewed 4,469 times – ( +2 ) – version 1.1
In order to get your Yii logs into Heroku's logs, you have to work a little bit of magic. You'll need to modify the script and add the following two lines:
tags: heroku, Logging

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Created 2 years ago by Luis Lobo BorobiaTips0 comments – viewed 5,149 times – ( +2 )
We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

More on SSE and Yii

Created 2 years ago by FirebreakerTips3 comments – viewed 4,567 times – ( +2 )
This is not actually Yii involved.

Como trasponer una lista creada con CHtml::checkBoxList

Created 4 years ago by rdjteamTips3 comments – viewed 10,996 times – ( +2 ) – version 1.1
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:

Using the jamselect widget with min and max values

Created 5 years ago by got 2 doodleHow-tos0 comments – viewed 9,185 times – ( +2 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 4 years ago by a110yTips7 comments – viewed 16,409 times – ( +2 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line: