Wiki

Sorted by viewsX
Displaying 491-500 of 785 result(s).

i18n for your model in just 1 line

Created 7 years ago by mintaoTutorials0 comments – viewed 13,492 times – ( +12 ) – version 1.1
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

How to ensure unicity to url

Created 5 years ago by zaccariaTips3 comments – viewed 13,492 times – ( +14 ) – version 1.1
Many time for SEO porpouses is important that each page will have a unique address.
tags: SEO, unique, URL

Integrating FirePHP

Created 6 years ago by ricardogranaTutorials5 comments – viewed 13,450 times – ( +8 ) – version 1.1
Install Firebug plugin for Firefox from here.

Yii 1.1: How To add id or class to CMenu items ?

Created 2 years ago by Louis GacHow-tos0 comments – viewed 13,335 times – ( +2 ) – version 1.1
CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

Facebook DeAuthorize callback URL and its response data.

Created 4 years ago by sirin kTutorials1 comment – viewed 13,321 times – ( +3 ) – version 1.1
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

How to: use github for download yii, create new app, and store our modules or extensions.

Created 4 years ago by sensorarioHow-tos1 comment – viewed 13,316 times – ( +8 ) – version 1.1
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
tags: github, git

default csrf security and ajax post in one controller

Created 3 years ago by jasonbanTutorials3 comments – viewed 13,136 times – ( +1 / -3 ) – version 1.1
Hello Yii friends

CRUD operation in Yii framework

Created 2 years ago by Mohammad FareedTutorials4 comments – viewed 13,119 times – ( +1 / -6 ) – version all
Simple Yii Script for performing CRUD operations:

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created 4 years ago by samdarkHow-tos1 comment – viewed 13,079 times – ( +21 ) – version 1.1
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

PHPStorm & NetBeans autocomplete problem

Created 4 years ago by StagelineTips3 comments – viewed 13,079 times – ( +24 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.