Articles in category "tutorials", sorted by date (updated)X
Displaying 101-110 of 238 result(s).

Custom Login Error Messages

Updated about a year ago by whoopassTutorials1 comment – viewed 26,515 times – ( +10 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.

How to display static pages in Yii?

Updated 2 years ago by resurtmTutorials2 comments – viewed 50,017 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

Upload Files to Rackspace Cloud Files CDN

Updated 2 years ago by StephenMiracleTutorials0 comments – viewed 8,216 times – ( +2 ) – version 1.1
** I actually made this into an extension for easier use. You can view the extension:

How to access a component of a module from within the module itself

Updated 2 years ago by Roman SolomatinTutorials3 comments – viewed 22,924 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

Understanding Scenarios

Updated 2 years ago by Luke JurgsTutorials11 comments – viewed 87,668 times – ( +29 ) – version 1.1
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

Creating HTML code using Jamboree Panels

Updated 2 years ago by bluyellTutorials0 comments – viewed 7,794 times – ( +2 / -2 ) – version 1.1

Define general array and variable and call it to anywhere in application

Updated 2 years ago by Maurizio Domba CerinTutorials2 comments – viewed 6,176 times – ( +2 / -4 ) – version 1.1
Create param.php file in protected/config

Behaviors & events

Updated 2 years ago by GismoTutorials10 comments – viewed 100,330 times – ( +50 ) – version 1.1
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.

Adding search to Yii blog example (using Zend Lucene)

Updated 2 years ago by klammeraffeTutorials21 comments – viewed 62,863 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

CSS Naming Conventions

Updated 2 years ago by GismoTutorials4 comments – viewed 28,192 times – ( +35 / -1 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.