Yii Developer Blog
54.9K views | +4 today
Follow
Yii Developer Blog
For sharing articles and tutorials on Yii framework
Your new post is loading...
Your new post is loading...
Scooped by Mahsa Teimourikia
Scoop.it!

Creating a database-driven hierarchical Structure combined with CMenu and superfish | Wiki | Yii Framework

Note: Please also take a look at the newer EMenu extension. This works even better that
the deprecated CDropDownMenu!
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

activerecord-relation-behavior | Extension | Yii Framework

Inspired by and put together the awesomeness of many yii extensions that aim to improve saving of related records.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

How to translate and do the translations the easy way | Wiki | Yii Framework

I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations
of application's source language.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Uploading multiple images with CMultiFileUpload | Wiki | Yii Framework

here are the steps towards the uploading of images via CMultiFileUpload so you can focus on the more important thing: your actual work.

more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

yii-multilanguage | Extension | Yii Framework

Yii PHP Framework extension for multilingual sites...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Yii fullcalendar integration in 3 steps

FullCalendar is a jQuery plugin that provides a full-sized, drag & drop calendar. It uses AJAX to fetch events on-the-fly for each month and is easily configured to use your own feed format (an...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

How to write a simple application component | Wiki | Yii Framework

An application component is a confortable way for share information among all component of the application...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Activerecord-relation-behavior

Activerecord-relation-behavior : Inspired by and put together the awesomeness of many yii extensions that aim to improve saving of related records.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Adventures in Programming: Yii Authentication via database

Adventures in Programming: Yii Authentication via database | Yii Developer Blog | Scoop.it

Yii has a wonderful AuthManager built in, but it's a little confusing to use so many people end up creating their own. This one drove me a little nuts for a bit, so I thought it would be a good place to start. For the purposes here, I'm going to assume you've already added a db setting to your main Controller. For more information on how to do that, read here.

more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Setting and getting systemwide static parameters | Wiki | Yii Framework

Occasionally one wishes to set systemwide parameters for an application, such as a contact address for email, an application name, or setting an option that guides major behavior.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

rights | Extension | Yii Framework

This extension utilizes Yii's built-in Database Authorization Manager (CDbAuthManager) to provide a web interface for advanced access control.

more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

How to create a Yii Behavior | El Blog del Antonio

How to create a Yii Behavior | El Blog del Antonio | Yii Developer Blog | Scoop.it
First of all let's find out what is exactly a behavior in Yii's language (text extracted from Yii's Definitive Guide):A behavior is an object whose methods can be 'inherited' by its attached component through the means of collecting functionality...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Creating a dependent dropdown | Wiki | Yii Framework

Often you'll need a form with two dropdowns, and one dropdown's values will be dependent on the value of the other dropdown. Using Yii's built-in AJAX functionality you can create such a dropdown.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

esaverelatedbehavior | Extension | Yii Framework

ESaveRelatedBehavior enables ActiveRecord models to save HAS_MANY relational active records and MANY_MANY relations.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Just another blog for sharing code: How to add multi-language site in yii framework

Just another blog for sharing code: How to add multi-language site in yii framework | Yii Developer Blog | Scoop.it

To make multi language in your yii framework you have to implements some rules. You can use the session variables to make the translation between your page. With the the documentation you can look at here.

more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

How to extend yiic shell commands | Wiki | Yii Framework

Note: this tutorial requires Yii 1.0.8 or later.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

CController | Class Reference | Yii Framework

CController manages a set of actions which deal with the corresponding user requests.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Behaviors & events | Wiki | Yii Framework

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.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Force a User to Change Their Password (ChangePasswordFilter) | Wiki | Yii Framework

Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Understanding Autoloading, Helper Classes and Helper Functions | Wiki | Yii Framework

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.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Installing Yii-rights extension

These are the steps I've followed in order to install yii-rights extension for my project.

more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Scaffolding · Bootstrap

Scaffolding · Bootstrap | Yii Developer Blog | Scoop.it

Bootstrap was made to not only look and behave great in the latest desktop browsers (as well as IE7!), but in tablet and smartphone browsers via responsive CSS as well.

more...
No comment yet.