Wiki

Articles tagged with "views", sorted by ratingX
Displaying 1-10 of 14 result(s).

Understanding the view rendering flow

Created 3 years ago by dckurushinFAQs15 comments – viewed 141,124 times – ( +91 / -3 ) – version 1.1
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 2 years ago by c@cbaHow-tos3 comments – viewed 24,940 times – ( +14 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

Front-end developer's guide

Created 2 years ago by jonahTutorials5 comments – viewed 21,771 times – ( +11 ) – version 1.1
This wiki is a work in progress.

Avoiding duplicate script download when using Ajax calls to render different Views

Created 3 years ago by Antonio RamirezTips6 comments – viewed 18,611 times – ( +13 / -1 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Created 2 years ago by pckabeerHow-tos1 comment – viewed 13,657 times – ( +7 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options. This is a rewrite of c@cba in the wiki article of enumDropdownListThe main code was contributed by zaccaria in the forum (see this post).

How to render a view in Fancybox using ajax

Created 2 years ago by rix.rix.How-tos1 comment – viewed 18,005 times – ( +6 ) – version 1.1
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

Visualization tree-multi subcategories as listbox or dropdownlist

Created about a year ago by KonApazHow-tos4 comments – viewed 10,389 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

Create image thumbnails with php_img_preview

Created 2 years ago by Anas AbuDayahTutorials6 comments – viewed 10,547 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

Inline views, write less

Created about a year ago by FirebreakerTips0 comments – viewed 4,061 times – ( +3 )
Sometimes writing views like

How to apply a layout to an AJAX update

Created 9 months ago by trondHow-tos1 comment – viewed 4,049 times – ( +1 ) – version 1.1
The template system in Yii is quite flexible. By default you have three layers of content:
tags: AJAX, views