Wiki

Articles tagged with "views", sorted by date (updated)X
Displaying 1-9 of 9 result(s).

Understanding the view rendering flow

Updated about a month ago by JorgeeFAQs10 comments – viewed 68,206 times – ( +65 / -1 )
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Create image thumbnails with php_img_preview

Updated about a month ago by Anas AbuDayahTutorials5 comments – viewed 5,580 times – ( +3 )
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

Creating HTML code using Jamboree Panels

Updated 4 months ago by bluyellTutorials0 comments – viewed 4,381 times – ( +2 )

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

Updated 7 months ago by Antonio RamirezTips4 comments – viewed 10,919 times – ( +10 )
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

How to render a view in Fancybox using ajax

Updated 10 months ago by 张 迪How-tos1 comment – viewed 10,107 times – ( +5 / -1 )
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

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

Updated 12 months ago by pckabeerHow-tos1 comment – viewed 6,353 times – ( +6 )
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).

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

Updated 12 months ago by pckabeerHow-tos2 comments – viewed 12,636 times – ( +11 )
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

Updated about a year ago by waitekkTutorials5 comments – viewed 15,443 times – ( +10 )
This wiki is a work in progress.

embed a view file of the class which implement the CAction.

Updated 2 years ago by DavidhhuanTutorials1 comment – viewed 4,994 times – ( +1 / -1 )
In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views