Wiki

Sorted by date (updated)X
Displaying 51-60 of 696 result(s).

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

Updated 2 months ago by Louis GacHow-tos0 comments – viewed 1,596 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 ?

Starting with YII 1.1.x in Windows Environment (WAMP)

Updated 2 months ago by Rajith RTutorials0 comments – viewed 1,576 times – ( +8 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

Migration the database schema to another one

Updated 3 months ago by KonApazTutorials2 comments – viewed 1,177 times – ( +1 ) – version 1.1
In this wiki I will show how to copy a schema from a database to another one

Disallowing login for INACTIVE users in Yii

Updated 3 months ago by Rohit SutharTutorials0 comments – viewed 1,944 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.

How to prevent Login from two places?

Updated 3 months ago by Rohit SutharTutorials0 comments – viewed 2,826 times – ( +4 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.

Yii Change Password with use of old and repeat password using bootstrap TbActiveForm

Updated 3 months ago by Rohit SutharTutorials6 comments – viewed 3,867 times – ( +3 / -1 ) – version 1.1
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Updated 3 months ago by Louis GacTutorials0 comments – viewed 2,052 times – ( +4 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

CGridView. Add custom class to table rows preserving original „odd“ and „even“

Updated 3 months ago by yugeneHow-tos2 comments – viewed 19,365 times – ( +5 ) – version 1.1
Lets say we have such a CGridView widget showing a list of users for administrator. Users have status „active“ or „disabled“. Grid widget puts class „odd“ or „even“ to rows and we want to preserve this. So we want to add a class „disabled“ to rows with disabled users.

Email template functionality with manage content from database

Updated 3 months ago by yugeneTutorials5 comments – viewed 11,638 times – ( +5 / -3 ) – version 1.1
I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)
tags: email, template

View a related field in CGridView

Updated 3 months ago by rafaelt88Tips1 comment – viewed 1,724 times – ( +5 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".