Wiki

Sorted by ratingX
Displaying 101-110 of 467 result(s).

Kickstart development with Yii-App

Created 3 months ago by Chris83How-tos20 comments – viewed 9,600 times – ( +16 )
I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use this project as a starting point for all of your Yii projects.

PHPStorm & NetBeans autocomplete problem

Created 2 months ago by StagelineTips0 comments – viewed 2,926 times – ( +16 )
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

How to show ajax delete status in CGridView like flash messages

Created about a year ago by hasanaviHow-tos9 comments – viewed 18,569 times – ( +16 )
I've seen many tickets regarding how to show friendly delete confirmation using CGridView's CButtonColumn in ajax request. If you are using relational database, after producing CRUD functionality when you try to delete a record in ajax mode which has child record it can't be deleted and you can see the ajax loader forever. By this way you can't show the users if a record has been successfully deleted or if there are some problem in flash style (setFlash() / getFlash())

How to use single form to collect data for two or more models (CActiveForm and Ajax Validation edition)

Created about a year ago by RusAlexHow-tos8 comments – viewed 23,667 times – ( +16 )
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

How to set up Unicode

Created 4 years ago by MikeHow-tos9 comments – viewed 35,596 times – ( +15 )
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode

Starting your Yii Project Reference Guide (with Git VCS in Linux)

Created about a year ago by marcanuyTutorials4 comments – viewed 13,337 times – ( +15 )
I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.

Getting the Most out of APC for Yii

Created about a year ago by Da:SourcererHow-tos7 comments – viewed 12,147 times – ( +15 )
The Advanced PHP Cache is a PHP extension which primarily serves as an opcode cache for PHP. The basic idea is to save PHP from re-evaluating the PHP code to intermediate bytecode on each request. Installing and enabling APC already yields a significant performance benefit. However, APC is not a black box that will magically change all for the better. More over it is important to understand that APC needs memory to operate.
tags: caching, apc

Creating a database-driven hierarchical Structure combined with CMenu and superfish

Created 3 years ago by thyseusTutorials8 comments – viewed 28,540 times – ( +15 )
Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!
tags: menu

Using standard filters in CGridView custom fields

Created 2 years ago by GOshaHow-tos4 comments – viewed 34,052 times – ( +15 )
In this article I'll try to explain how to use standard quick search fields in CGridView with customized columns.For example: We have a record in a database with field switch having 0 or 1 values. After that we want a user to see on or off instead 1 or 0. So we do the usual thing:

Hyphenation of routes in URL management

Created 7 months ago by qiangHow-tos4 comments – viewed 6,238 times – ( +15 )
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL