Wiki

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

Displaying image in a CGridView column.

Created 2 years ago by sirin kHow-tos5 comments – viewed 45,767 times – ( +13 / -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

Updating fields on a form with Ajax and Json

Created 3 years ago by Russell EnglandHow-tos4 comments – viewed 45,755 times – ( +12 / -1 ) – version 1.1
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

Special $variables in CGridView and CListView

Created 3 years ago by Steve FriedlTips11 comments – viewed 44,028 times – ( +26 / -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.

Date Picker by examples

Created about a year ago by InterboyHow-tos5 comments – viewed 43,516 times – ( +9 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Using CAutoComplete to display one value and submit another

Created 5 years ago by luoshibenTutorials5 comments – viewed 43,408 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 43,073 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.

Using setFlash for displaying various kind of messages

Created 3 years ago by TrejderHow-tos6 comments – viewed 43,058 times – ( +4 / -5 ) – version 1.1
In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
tags: flash, error, message

"Why do I get a 403 error when trying to use Gii?"

Created 3 years ago by Steve FriedlFAQs3 comments – viewed 43,038 times – ( +7 ) – version 1.1
After enabling the Gii module in your protected/config/main.php file and then try to use it with http://example.com/index.php?r=gii, you get an error:
tags: Gii, config

How to create nice modal login widget with a CJuiDialog

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

Theming your Zii Widgets

Created 3 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 42,589 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.