Wiki

Sorted by ratingX
Displaying 301-310 of 468 result(s).

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

Created 2 months ago by nlacTutorials0 comments – viewed 3,653 times – ( +4 )
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.

adding class and links to Ctreeview node

Created about a year ago by bingjie2680Tips2 comments – viewed 7,549 times – ( +4 )
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created about a month ago by le_topTips0 comments – viewed 2,343 times – ( +4 )
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

Yet another implementation of CPhpAuthManager.

Created about a month ago by seenivasanHow-tos2 comments – viewed 2,798 times – ( +4 )
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

Implementing a WebDAV server using SabreDAV

Created 19 days ago by nineinchnickTutorials2 comments – viewed 1,226 times – ( +4 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

Send asset folder path to a javascript of a widget

Created about a year ago by sensorarioTips4 comments – viewed 10,048 times – ( +4 )
When you develop a widget, you could need one image that is in the assets folder, you can use it simply within a css. You can load a css or javascript script doing this:

how to use github (un)official extension repo in your Yii project

Created about a year ago by RusAlexTips4 comments – viewed 5,291 times – ( +4 )
Using a git submodule command in your yii project

Integrating Wordpress and Yii: yet another approach

Created about a year ago by goncinHow-tos8 comments – viewed 11,684 times – ( +8 / -2 )
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 about a year ago by Pinoy CoderzTutorials3 comments – viewed 6,012 times – ( +8 / -2 )
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

Autocomplete in console command

Created about a year ago by StammTutorials1 comment – viewed 5,291 times – ( +3 )
Missed of autocomplete in bash console commands yii make me sad.