Wiki

Sorted by ratingX
Displaying 451-460 of 777 result(s).

A very easy way to setup yiic on WAMP server (without extra windows settings)

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials10 comments – viewed 35,871 times – ( +6 / -1 ) – version 1.1
Assuming that you have already install the wampserver on your windows.

Enabling Gzip

Created 7 years ago by pestaaTutorials6 comments – viewed 22,993 times – ( +6 / -1 ) – version 1.1
Adding HTTP compression to your application could never have been easier!

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Created 2 years ago by Gerhard LiebenbergHow-tos2 comments – viewed 47,874 times – ( +6 / -1 ) – version 1.1
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

Putting Function To Be Called In View

Created 5 years ago by junxiongTips2 comments – viewed 33,694 times – ( +6 / -1 ) – version 1.1
Sometimes we need some complicated view to be displayed (such as generating complicated table). Most people suggest that in MVC the View must be as simple as possible (don't have too much loops, etc). So what we have to do is to hide away the complex code by putting it at somewhere else. The following are few places options to keep the function:
tags: view, render

How to display data from two tables in TbGridView using DataProvider?

Created 2 years ago by Rohit SutharTutorials4 comments – viewed 12,153 times – ( +6 / -1 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

Disallowing login for INACTIVE users in Yii

Created 2 years ago by Rohit SutharTutorials0 comments – viewed 6,441 times – ( +6 / -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.

model rules depended by user roles-permissions

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,263 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

How to setup yiic on WAMP (XP/Vista)

Created 7 years ago by krillzipTutorials3 comments – viewed 76,895 times – ( +3 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

Autocomplete in console command

Created 4 years ago by StammTutorials1 comment – viewed 8,973 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

How to use bizRules in standard accessControl filter

Created 3 years ago by Maciej Li┼╝ewskiHow-tos8 comments – viewed 13,802 times – ( +3 ) – version 1.1
I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.