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

Integrating with other frameworks

Created 7 years ago by KJediTutorials4 comments – viewed 20,541 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 4 years ago by mitherealHow-tos4 comments – viewed 6,716 times – ( +1 ) – version 1.1
I recently built a tarpit for bad bots.
tags: tarpit, bots

Ajax Login form with validation errors inside jQuery modal dialog

Created 3 years ago by praviTutorials4 comments – viewed 34,418 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,132 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,143 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 46,642 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 373,345 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 2 years ago by Manish GuptaTips4 comments – viewed 19,426 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.

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Created 22 days ago by emraldTutorials4 comments – viewed 1,849 times – version 2.0
Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.

Simple access control

Created 4 years ago by szfjozsefTutorials4 comments – viewed 36,580 times – ( +4 / -8 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.