Wiki

Displaying 181-190 of 719 result(s).

Caching strategy

Created about a year ago by darkheirHow-tos9 comments – viewed 4,296 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

two or more different collected data in one CGridView

Created about a year ago by KonApazHow-tos2 comments – viewed 6,046 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Set a menu - reusable code

Created about a year ago by KonApazTips0 comments – viewed 4,170 times – ( +1 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

Rendering Views and Updating them with Ajax

Created about a year ago by Manish GuptaTips4 comments – viewed 14,401 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

thumbsgen and Kohana Image Library together (extends an extension)

Created about a year ago by KonApazHow-tos0 comments – viewed 3,036 times – ( +2 )
In this wiki I will show you how to extends an extension and/or how can two or more extensions work together.

Multilanguage and SEO friendly

Created about a year ago by InterboyHow-tos1 comment – viewed 13,758 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Date Picker by examples

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

Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Created about a year ago by KonApazTips2 comments – viewed 18,428 times – ( +2 / -1 ) – version 1.1
First of all, You have to find out the class of the desired icon, so visit the http://getbootstrap.com/2.3.2/base-css.html#icons

Automatic Parameter Binding to POST vars in Yii2

Created about a year ago by aarondfrancisHow-tos2 comments – viewed 6,429 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

Create a custom menu using CMenu data-items (flat or tree structure)

Created about a year ago by KonApazHow-tos0 comments – viewed 11,743 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.