Wiki

Sorted by viewsX
Displaying 91-100 of 683 result(s).

How to translate and do the translations the easy way

Created 2 years ago by Roman SolomatinHow-tos3 comments – viewed 43,027 times – ( +26 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.
tags: i18n

Displaying image in a CGridView column.

Created 2 years ago by sirin kHow-tos5 comments – viewed 42,826 times – ( +12 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

Using CAutoComplete to display one value and submit another

Created 5 years ago by luoshibenTutorials5 comments – viewed 42,182 times – ( +8 / -3 ) – version 1.1
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

Implementing a User Level Access System

Created 3 years ago by Antonio RamirezTutorials12 comments – viewed 41,156 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.

How to create nice modal login widget with a CJuiDialog

Created 3 years ago by Igor IvanovicTutorials3 comments – viewed 41,050 times – ( +9 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Special $variables in CGridView and CListView

Created 2 years ago by Steve FriedlTips10 comments – viewed 41,047 times – ( +24 / -1 ) – version 1.1
The popular CListView and CGridView widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the current model object or array.

Ajax update

Created 3 years ago by zaccariaTips2 comments – viewed 40,883 times – ( +21 / -2 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

Yii Related Sites

Created 3 years ago by jacmoeOthers2 comments – viewed 40,795 times – ( +33 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

Theming your Zii Widgets

Created 3 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 40,590 times – ( +19 ) – version 1.1
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.

htmlOptions explained for various controls.

Created 3 years ago by WoilTips1 comment – viewed 40,312 times – ( +17 ) – 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: