Wiki

Sorted by ratingX
Displaying 441-450 of 750 result(s).

A simple way to get Yii client-side form validation run when submitting by ajax

Created 2 years ago by nlacTutorials5 comments – viewed 35,452 times – ( +8 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Integrating Wordpress and Yii: yet another approach

Created 3 years ago by goncinHow-tos8 comments – viewed 20,191 times – ( +8 / -2 ) – version 1.1
It seems many people is trying to make Wordpress and Yii work together. I got stuck with the same problem, but now I think I have achieved doing it, after a lot of hard thinking and many work hours spent.

Our WebApp that will run without downtime during update/upgrade

Created 3 years ago by Pinoy CoderzTutorials3 comments – viewed 8,855 times – ( +8 / -2 ) – version 1.1
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

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

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials10 comments – viewed 25,998 times – ( +6 / -1 ) – version 1.1
Assuming that you have already install the wampserver on your windows.

Enabling Gzip

Created 5 years ago by pestaaTutorials5 comments – viewed 19,589 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 about a year ago by Gerhard LiebenbergHow-tos2 comments – viewed 35,521 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 4 years ago by junxiongTips2 comments – viewed 27,802 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 11 months ago by Rohit SutharTutorials4 comments – viewed 6,595 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 10 months ago by Rohit SutharTutorials0 comments – viewed 3,768 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 about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 7,202 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