Wiki

Sorted by commentsX
Displaying 261-270 of 785 result(s).

Integrating with other frameworks

Created 7 years ago by KJediTutorials4 comments – viewed 20,950 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Tarpit for bad bots

Created 5 years ago by mitherealHow-tos4 comments – viewed 6,923 times – ( +1 ) – version 1.1
I recently built a tarpit for bad bots.
tags: tarpit, bots

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 4 years ago by c@cbaHow-tos4 comments – viewed 34,879 times – ( +14 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

Load data from internal/external source to fill form fields

Created about a year ago by skwordenHow-tos4 comments – viewed 11,299 times – ( +1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

Ajax Login form with validation errors inside jQuery modal dialog

Created 3 years ago by praviTutorials4 comments – viewed 35,164 times – ( +6 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

CGridView keep focus on the control after filtering

Created 4 years ago by jayalaHow-tos4 comments – viewed 10,379 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

Simple Share Widget for Facebook, twitter and google+

Created 4 years ago by softarkHow-tos4 comments – viewed 22,631 times – ( +10 ) – version 1.1
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.

using multiple radio button

Created 4 years ago by francis jaTips4 comments – viewed 47,886 times – ( +9 / -1 ) – version 1.1
When we use multiple radio buttons with same name in Yii many people have the problem on getting the value of the selected radiobutton. The radioButtonList can be used for that, but if we need to use radioButton itself to place the button any where in a view, we need to include one more parameter in htmloption array().

How to include Javascript, CSS

Created 3 years ago by InterboyHow-tos4 comments – viewed 379,656 times – ( +11 / -3 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Rendering Views and Updating them with Ajax

Created 3 years ago by Manish GuptaTips4 comments – viewed 19,868 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.