Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 31-40 of 239 result(s).

Understanding Autoloading, Helper Classes and Helper Functions

Created 4 years ago by Steve FriedlTutorials4 comments – viewed 76,213 times – ( +29 ) – version 1.1
Many Yii users ask how to create helper classes and functions, and though there are numerous approaches spread out among the forum and wiki articles, this Tutorial tries to bring it all together in one place.

Working with CGridView in Admin Panel

Created 2 years ago by vibhaJadwaniTutorials18 comments – viewed 66,356 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Organize directories for applications with front-end and back-end

Created 5 years ago by qiangTutorials10 comments – viewed 66,183 times – ( +28 ) – version 1.1
Large applications are often divided into front-end and back-end (or even more ends) depending on the target user groups. The front-end should be used by common users, while the back-end mainly the administrators or staff members. The two ends usually have dramatically different appearance, even though they may share a lot of code underneath. In this tutorial, we describe a way of organizing directories of the code for both ends.

How to add ajax-loading indicators

Created 5 years ago by schmunkTutorials5 comments – viewed 45,939 times – ( +27 ) – version 1.1
With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.
tags: AJAX

Saving CGridView filter

Created about a year ago by sefburhanTutorials5 comments – viewed 5,323 times – ( +27 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

How to learn Yii?!

Created 3 years ago by yJeroenTutorials6 comments – viewed 70,742 times – ( +25 ) – version all
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.

How to upload a file using a model

Created 6 years ago by qiangTutorials6 comments – viewed 353,222 times – ( +84 / -6 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

How to implement multiple page layouts in an application

Created 6 years ago by qiangTutorials2 comments – viewed 87,400 times – ( +24 ) – version 1.1
In this tutorial, we describe how to implement multiple layouts for action views in an application. As an example, we assume that the pages in our application will use three different layouts:
tags: layout

Use crypt() for password storage

Created 2 years ago by fsbTutorials16 comments – viewed 68,383 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

CSS Naming Conventions

Created 4 years ago by qiangTutorials4 comments – viewed 28,445 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.