Wiki

Displaying 411-420 of 719 result(s).

Widget Personalizado

Created 2 years ago by CálcioTutorials0 comments – viewed 6,112 times – ( +6 ) – version 1.1
Here I will explain with the clear way and objective an use the widget with CDataProvider.

CGridView keep state of page and sort.

Created 2 years ago by DanielHow-tos5 comments – viewed 20,367 times – ( +6 ) – version 1.1
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 2 years ago by Gerhard LiebenbergTutorials20 comments – viewed 66,494 times – ( +26 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Created 2 years ago by acorncomHow-tos23 comments – viewed 34,674 times – ( +22 ) – version 1.1
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 2 years ago by RutgerHow-tos3 comments – viewed 19,474 times – ( +12 ) – version 1.1
This solution requires Yii 1.1.9 or above

How to catch and log MySQL deadlock errors

Created 2 years ago by sebTips1 comment – viewed 8,844 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database

Searching and Sorting by Count of Related Items in CGridView

Created 2 years ago by softarkHow-tos14 comments – viewed 31,676 times – ( +30 ) – version 1.1
Let's say we have two models and relation between them:

Using CJuiDatePicker for CGridView filter

Created 2 years ago by softarkHow-tos13 comments – viewed 34,987 times – ( +23 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

Deploy yii on pagoda box

Created 2 years ago by francis jaTutorials0 comments – viewed 6,672 times – ( +4 ) – version 1.1
pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command
tags: pagodabox, pagoda

using multiple radio button

Created 2 years ago by francis jaTips4 comments – viewed 31,701 times – ( +6 / -1 ) – version 1.1
When we use multiple radio buttons with same name in Yii many people have the problem on getting the value of the selected radiobutton. The radioButtonList can be used for that, but if we need to use radioButton itself to place the button any where in a view, we need to include one more parameter in htmloption array().