Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 41-50 of 174 result(s).

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 9 months ago by yJeroenTutorials8 comments – viewed 17,687 times – ( +11 )
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

How to automate timestamps in ActiveRecord models

Created 4 years ago by dalipTutorials7 comments – viewed 59,962 times – ( +25 )
There are many ways to automate the setting of timestamps in yii ActiveRecord models. Three are presented here:

How to learn Yii?!

Created about a year ago by yJeroenTutorials7 comments – viewed 38,831 times – ( +18 )
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Behaviors & events

Created 3 years ago by pestaaTutorials7 comments – viewed 51,008 times – ( +40 )
These features provide endless possibilities and unbelievable flexibility, but as current documentation does not give more than a few examples, it might be difficult to fully understand their internals and requirements.

How to customize Yii core messages?

Created 4 years ago by qiangTutorials6 comments – viewed 28,732 times – ( +14 )
Yii core messages refer to static text strings in the core Yii framework code which are meant to be displayed to end-users (e.g. core exception messages, default validation error messages). Customization of these core messages is needed in two circumstances:

How to generate Web feed for an application

Created 4 years ago by qiangTutorials6 comments – viewed 13,094 times – ( +4 )
Web feed is a data format used for providing users with frequently updated content. In this article, we describe how to use Zend_Feed, an excellent component from Zend Framework to generate Web feed for an Yii application. This article can also serve as a general guide on how to use other components in Zend Framework.

Adding login form to each page

Created 3 years ago by pestaaTutorials6 comments – viewed 19,515 times – ( +3 / -1 )
After adding proper form to the main layout, like:

Using search engine and user friendly URLs

Created 3 years ago by qiangTutorials6 comments – viewed 40,072 times – ( +18 )
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL

Module based login

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

Custom Number Formatting or Decimal Separators and i18n

Created 10 months ago by c@cbaTutorials6 comments – viewed 10,924 times – ( +3 )
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...