Wiki

Sorted by ratingX
Displaying 421-430 of 702 result(s).

using multiple radio button

Created 2 years ago by francis jaTips4 comments – viewed 29,813 times – ( +6 / -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().

Putting Function To Be Called In View

Created 3 years ago by junxiongTips2 comments – viewed 24,586 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

Ajax form submiting in Yii

Created 2 years ago by sirin kTutorials9 comments – viewed 84,627 times – ( +11 / -4 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

model rules depended by user roles-permissions

Created about a year ago by KonApazHow-tos0 comments – viewed 5,926 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

Autocomplete in console command

Created 2 years ago by StammTutorials1 comment – viewed 7,126 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

How to use bizRules in standard accessControl filter

Created about a year ago by redguyHow-tos8 comments – viewed 8,600 times – ( +3 ) – version 1.1
I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

How to use Flash, Zend AMF and Yii Framework

Created 2 years ago by janistoTutorials0 comments – viewed 8,425 times – ( +3 ) – version 1.1
This is a simple demo how to use Zend_AMF with Yii.
tags: flash, zend, Zend_AMF, AMF

Useful Multilanguage extensions collection and use.

Created about a year ago by cihappyTips2 comments – viewed 4,334 times – ( +3 )
What I want to achieve:

How to use markItUp! on a text field for full WYSIWYG editing

Created 5 years ago by lucifuriousTutorials2 comments – viewed 20,224 times – ( +3 ) – version 1.1
This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created about a year ago by Ankit ModiTips0 comments – viewed 8,011 times – ( +3 ) – version 1.1
Hi Friends,