Wiki

Sorted by viewsX
Displaying 121-130 of 777 result(s).

htmlOptions explained for various controls.

Created 5 years ago by WoilTips1 comment – viewed 52,907 times – ( +18 ) – version 1.1
Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code:

How to use single form to collect data for two or more models (CActiveForm and Ajax Validation edition)

Created 5 years ago by RusAlexHow-tos9 comments – viewed 52,838 times – ( +22 ) – version 1.1
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

How to avoid multiple Ajax Request

Created 5 years ago by nickcvHow-tos26 comments – viewed 52,093 times – ( +25 / -2 ) – version 1.1
CHtml::ajaxLink(), CHtml::ajaxSubmitButton() and similar methods are great, but if they are located inside a portion of the page that is already loaded via ajax something bad will happen, something you may even not notice if you are not using tools like firebugs: the sent ajax requests will multiply themselves.

Working with radiobutton list

Created 4 years ago by vibhaJadwaniTutorials3 comments – viewed 51,854 times – ( +10 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

Creating a Dependent Dropdown From Scratch in Yii2

Created 2 years ago by ThePr0f3550rHow-tos3 comments – viewed 51,779 times – ( +6 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

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

Created 4 years ago by kiran sharmaHow-tos21 comments – viewed 51,539 times – ( +22 / -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.

Yii for beginners 2

Created 3 years ago by rackyczTutorials2 comments – viewed 51,384 times – ( +32 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Implementing a User Level Access System

Created 5 years ago by Antonio RamirezTutorials12 comments – viewed 51,158 times – ( +28 / -1 ) – version 1.1
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

config Use MS SQL SERVER 2005 2008.

Created 5 years ago by vcxz_1982Tutorials2 comments – viewed 50,929 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

How to customize Yii core messages?

Created 7 years ago by qiangTutorials7 comments – viewed 50,811 times – ( +18 ) – version 1.1
Yii core messages refer to static text strings in the core Yii framework code which are meant to be displayed to end-users (e.g. core exception messages, default validation error messages). Customization of these core messages is needed in two circumstances: