Wiki

Sorted by viewsX
Displaying 391-400 of 675 result(s).

multiple CActiveDataProviders in one CGridView

Created about a year ago by KonApazHow-tos5 comments – viewed 9,414 times – ( +7 / -1 )
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

caching controllers with filters()

Created 3 years ago by RusAlexHow-tos1 comment – viewed 9,361 times – ( +2 ) – version 1.1
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 5 months ago by Kartik VTutorials18 comments – viewed 9,323 times – ( +29 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Create sitemap.xml file dynamically on root folder with one hit

Created about a year ago by kiran sharmaHow-tos1 comment – viewed 9,298 times – ( +5 / -4 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML

Yii code completion and calltips in Komodo Edit

Created 3 years ago by viterTips1 comment – viewed 9,257 times – ( +6 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit

Generate a multi-lever array sub-category for a menu

Created about a year ago by KonApazHow-tos7 comments – viewed 9,172 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

How to implement an event and attach it in a behavior

Created about a year ago by seb7How-tos0 comments – viewed 9,130 times – ( +4 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Using SQLite and CDbMessageSource as a module

Created 2 years ago by pheadeauxHow-tos5 comments – viewed 9,081 times – ( +5 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

Using Google Maps in Yii Applications via Jquery

Created about a year ago by bluyellHow-tos2 comments – viewed 9,040 times – ( +2 / -1 ) – version 1.1

Encapsulate db and module configurations

Created 4 years ago by ricardogranaTutorials3 comments – viewed 9,039 times – ( +7 ) – version 1.1
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
tags: module