Wiki

Sorted by viewsX
Displaying 171-180 of 706 result(s).

Single sign on across multiple subdomains

Created 3 years ago by ianarĂ©How-tos9 comments – viewed 29,596 times – ( +31 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

Using International Dates

Created 3 years ago by Russell EnglandHow-tos4 comments – viewed 29,483 times – ( +18 ) – version 1.1
I needed British (dd/mm/yyyy) formatted dates throughout my application but found it very difficult to find examples of how to do this - until I found this excellent forum post http://www.yiiframework.com/forum/index.php?/topic/3649-dealing-with-i18n-date-formats/

How to use Multiple instances of the same model in the same form

Created 2 years ago by kiran sharmaHow-tos20 comments – viewed 29,431 times – ( +20 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

Setting application parameters dynamically in the back-end

Created 2 years ago by PablovpTutorials6 comments – viewed 29,247 times – ( +11 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Install, update and use Yii with WAMP server

Created 2 years ago by mrsHow-tos5 comments – viewed 29,141 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

A simple action for CJuiAutoComplete

Created 3 years ago by tydeas_drTips9 comments – viewed 29,007 times – ( +16 / -1 ) – version 1.1
More or less I use auto-complete field for a form. CJuiAutoComplete is a yii widget for this purposes. The common use case is to make an ajax request and retrieve a list from the database. So in this case you have to write a controller action to return you a json encoded list. What if I had a generic action to do this work for me?

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

Created about a year ago by nlacTutorials5 comments – viewed 28,925 times – ( +6 / -2 ) – version 1.1
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.

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created about a year ago by Rajith RTips20 comments – viewed 28,896 times – ( +11 / -8 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

Client-side form validation using Twitter Bootstrap's Popovers

Created about a year ago by TrejderHow-tos4 comments – viewed 28,682 times – ( +4 / -1 ) – version 1.1
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

Customizing the CMenu Widget

Created about a year ago by mistrybTips1 comment – viewed 28,340 times – ( +4 / -1 )
The CMenu class provides some useful features for generating menus in your web application.