Wiki

Sorted by commentsX
Displaying 21-30 of 467 result(s).

Serve jQuery and jQuery-UI from Google's CDN

Created about a year ago by YetiTutorials14 comments – viewed 12,544 times – ( +13 )
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

CListView AJAX filtering

Created 2 years ago by DragaTutorials14 comments – viewed 28,263 times – ( +14 )
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Configuring PhpStorm IDE for Yii

Created 2 years ago by samdarkTips13 comments – viewed 41,874 times – ( +50 / -1 )
In order to be able to get from render or renderPartial to the view, from widget to widget class, from relations to model classes you need to install additional plugin called YiiStorm.
tags: IDE, PhpStorm

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 2 years ago by xrxHow-tos13 comments – viewed 22,201 times – ( +20 )
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

Actions code reuse with CAction

Created 2 years ago by Antonio RamirezHow-tos13 comments – viewed 17,267 times – ( +30 )
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

Url: hide index.php

Created about a year ago by HermansHow-tos13 comments – viewed 43,086 times – ( +17 )
Maybe it looks simple, but some time ago I need some time to find a solution of this case. I finally got it, and I want to share that I also experienced such cases. So that it can make reference.

Guidelines for good schema design

Created about a year ago by Steve FriedlTips13 comments – viewed 35,144 times – ( +123 )
Virtually all Yii applications are built on top of a database, and though Yii is very flexible in how it addresses your DB, some design choices make things more convenient than others.

Creating a jQueryUI Sortable CGridView

Created about a year ago by blindMoeHow-tos13 comments – viewed 16,950 times – ( +34 )
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.

How to setup RBAC with a php file

Created 3 years ago by bettorHow-tos12 comments – viewed 38,223 times – ( +24 / -4 )
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Created about a year ago by fr0d0zHow-tos12 comments – viewed 13,176 times – ( +18 )
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.