Wiki

Sorted by viewsX
Displaying 81-90 of 716 result(s).

How to log and debug variables using CWebLogRoute

Created 3 years ago by Antonio RamirezHow-tos7 comments – viewed 49,489 times – ( +18 ) – version 1.1
I have seen a couple of articles about how to integrate external libraries to debug our PHP code (i.e. firePHP) but after you read this article you will realize that there is no need for such libraries when using Yii.
tags: Logging

Using filters with CGridView and CArrayDataProvider

Created 3 years ago by marcovtwoutHow-tos30 comments – viewed 49,047 times – ( +21 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

Using the configuration file, explain what can be configured.

Created 4 years ago by atrandafirTutorials0 comments – viewed 49,012 times – ( +20 ) – version 1.1
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.

CListView AJAX filtering

Created 3 years ago by DragaTutorials17 comments – viewed 48,509 times – ( +17 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

How to display static pages in Yii?

Created 5 years ago by qiangTutorials2 comments – viewed 47,802 times – ( +19 ) – version 1.1
In a Web application, we often need to display pages like "about this site", "legal information", whose content are mostly static. There are several approaches to deal with this kind of pages.
tags: static pages

Module based login

Created 4 years ago by suriyansureshTutorials6 comments – viewed 47,744 times – ( +14 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.

Display an AJAX tree from your DB using CTreeView

Created 4 years ago by Fran├žois GannazTutorials10 comments – viewed 47,323 times – ( +21 ) – version 1.1
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

YiiBoilerplate - Setup a professional project structure in seconds

Created 2 years ago by Antonio RamirezOthers53 comments – viewed 47,269 times – ( +47 ) – version 1.1
YiiBoilerplate
tags: directory, config

How to translate and do the translations the easy way

Created 3 years ago by Roman SolomatinHow-tos3 comments – viewed 47,245 times – ( +27 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.
tags: i18n

Yii and XAMPP server on Windows

Created 4 years ago by TrejderTutorials0 comments – viewed 47,131 times – ( +3 ) – version 1.1
This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.
tags: windows, xampp, server