Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 141-150 of 229 result(s).

Two Login in same form in Yii application , with two tables

Created 9 months ago by BaluTutorials4 comments – viewed 12,075 times – ( +4 / -7 )
login links will be

How to log context information to logger (session id, user, ...)

Created 5 years ago by olafureTutorials0 comments – viewed 11,957 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

free PHP IDE CodeLobster supports Yii framework

Created 2 years ago by clodTutorials0 comments – viewed 11,742 times – ( +5 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.

Caching the config main.php

Created 2 years ago by dckurushinTutorials11 comments – viewed 11,252 times – ( +4 / -2 ) – version 1.1
The config long array included every time, and it's not cached at all!

i18n for your model in just 1 line

Created 4 years ago by mintaoTutorials0 comments – viewed 11,012 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 make customizable Db Table prefixes using ActiveRecord

Created 4 years ago by killermonkTutorials0 comments – viewed 10,793 times – version 1.1
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

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

Created 5 months ago by Kartik VTutorials18 comments – viewed 10,343 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.

AutoTimestampBehavior

Created 5 years ago by jonahTutorials1 comment – viewed 10,336 times – ( +2 / -2 ) – version 1.1
Note: currently a variant of this class CTimestampBehavior is included into Yii distribution package.

Integrating FirePHP

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

Email template functionality with manage content from database

Created 11 months ago by kiran sharmaTutorials5 comments – viewed 10,166 times – ( +5 / -3 ) – version 1.1
I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)
tags: email, template