Wiki

Sorted by viewsX
Displaying 171-180 of 741 result(s).

Actions code reuse with CAction

Created 3 years ago by Antonio RamirezHow-tos13 comments – viewed 32,963 times – ( +36 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Multiple Databases and Multiple Domains

Created 4 years ago by got 2 doodleTutorials2 comments – viewed 32,944 times – ( +15 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Single sign on across multiple subdomains

Created 4 years ago by ianarĂ©How-tos9 comments – viewed 32,879 times – ( +31 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

Install, update and use Yii with WAMP server

Created 2 years ago by mrsHow-tos5 comments – viewed 32,872 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created about a year ago by Kartik VTutorials21 comments – viewed 32,644 times – ( +48 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created 2 years ago by Rajith RTips20 comments – viewed 32,285 times – ( +11 / -8 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

Manage application configuration in different modes

Created 5 years ago by qiangTutorials5 comments – viewed 32,166 times – ( +16 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.

To configure Yii path in Windows platform

Created 3 years ago by CodaTutorials2 comments – viewed 32,138 times – ( +3 / -6 ) – version 1.1
I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,

Simple access control

Created 2 years ago by szfjozsefTutorials4 comments – viewed 31,831 times – ( +4 / -8 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 2 years ago by softarkTutorials12 comments – viewed 31,715 times – ( +32 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.