Yii Developer Blog
Follow
Find
51.6K views | +6 today
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!

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!

How to create a breadcrumb widget | Wiki | Yii Framework

Here's a simple way to create a breadcrumb widget to be used in your templates. The idea is just to isolate how the breadcrumb is generated based on an array of crumbs.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Working with Databases: Relational Active Record | The Definitive Guide to Yii | Yii Framework

Working with Databases: Relational Active Record | The Definitive Guide to Yii | Yii Framework | Yii Developer Blog | Scoop.it
We have already seen how to use Active Record (AR) to select data from a
single database table.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Learn Yii: CClientScript positioning

Learn Yii: CClientScript positioning | Yii Developer Blog | Scoop.it

CClientScript is useful for including css files and javscript files, while avoiding duplication.

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

Yii Themes - Shadow Dancer

Yii Themes - Shadow Dancer | Yii Developer Blog | Scoop.it

"Because some things are better in color."

As you can probably tell, this site was designed by a developer for designers in the Yii community who are willing to share their art work for the masses.

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

Getting Started with the Yii Framework – Larry Ullman

Getting Started with the Yii Framework – Larry Ullman | Yii Developer Blog | Scoop.it

Here it’ll walk through creating the beginnings of a Web application using Yii framework.

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

Using CJuiDialog to display flash Messages in Dialogues | Wiki | Yii Framework

In order to nicely display flash Messages, create view like this called views/site/dialog.php :...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Using setFlash for displaying various kind of messages | Wiki | Yii Framework

In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

bootstrap | Extension | Yii Framework

Yii-Bootstrap - Bringing together Yii and Bootstrap, Twitter's HTML, CSS and JavaScript toolkit...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

egmap | Extension | Yii Framework

egmap | Extension | Yii Framework | Yii Developer Blog | Scoop.it
Objet-oriented PHP abstraction to the Google Maps API to ease the process of adding a Google Map on your Yii projects.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Extending Yii: Creating Extensions | The Definitive Guide to Yii | Yii Framework

Because an extension is meant to be used by third-party developers, it takes
some additional efforts to create it.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

"Why do I get a 403 error when trying to use Gii?" | Wiki | Yii Framework

After enabling the Gii module in your protected/config/main.php file and then try to use it with http://example.com/index.php?r=gii, you get an error:...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Web Development stuff - from www.suriyan.in: Fixing The CSRF token could not be verified

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

How to create nice modal login widget with a CJuiDialog | Wiki | Yii Framework

...folder /protected/components/UserLoginWidget.php...
...extending the CWidget class...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Special $variables in CGridView and CListView | Wiki | Yii Framework

The popular CListView and CGridView widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Russell England (techy): MySql scripts to create locale and timezone tables

Russell England (techy): MySql scripts to create locale and timezone tables | Yii Developer Blog | Scoop.it

This is a MySql script for Yii framework to manage local timezones and locales.

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

How to use PHPExcel external library with Yii | Wiki | Yii Framework

Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

AssetManager: clearing browser's cache on site update | Wiki | Yii Framework

If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Displaying image in a CGridView column. | Wiki | Yii Framework

This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field
used to store the images.
more...
No comment yet.