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

Google maps in Yii

Google maps in Yii | Yii Developer Blog | Scoop.it
Actually what i want to do with the google maps are ,
1.The users of the website should be able to mark their business location in google maps.
2.Store the marked coordinates(ie latitude,longitude and...
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

yii: drop down list values and add empty selection

yii: drop down list values and add empty selection | Yii Developer Blog | Scoop.it
values in drop down list called via CActiveForm::dropDownList() is be populated by passing array of value => text as parameter.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

php5 - Multiple DataProviders Yii - Stack Overflow

How to declare multiple Dataproviders in Yii framework

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

Database driven Cmenu | Wiki | Yii Framework

This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

CHtml:link with an image - Yii Framework Forum

CHtml:link with an image - Yii Framework Forum | Yii Developer Blog | Scoop.it
Hello, I have (I hope so) a simple question... How do I create a link with an image? The normal way is so:
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Getting Error Bad Request The Csrf Token Could Not Be Verified When Csrf Has Been Enabled In The Yii Framework | techportal.co.za

Getting Error Bad Request The Csrf Token Could Not Be Verified When Csrf Has Been Enabled In The Yii Framework | techportal.co.za | Yii Developer Blog | Scoop.it
Question: Getting error: Bad Request The CSRF token could not be verified: when CSRF has been enabled in the Yii Framework and I'm clicking on a linkButton within a form.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Construct a full URL path in Yii PHP Framework | Code for Thought

Sometimes we need to construct a full URL, including the host domain and return it to the user, for example, forming a URL inside an e-mail with the full path to a certain page. To do this we can use some help from Yii.

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

Module based login | Wiki | Yii Framework

If you want to add module based login to a site without using RBAC, please follow these guidelines.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

using jQuery | jQuery tutorials & sample code » Using jQuery with the Yii framework

using jQuery | jQuery tutorials & sample code » Using jQuery with the Yii framework | Yii Developer Blog | Scoop.it

The Yii framework is my personal favorite PHP framework by miles. Today we are going to be learning about using jQuery with the Yii framework. Why is this any different from using jQuery in any other way? Because Yii has some clever built in jQuery functionality that will help speed up your site by reducing jQuery code being loaded on pages where it is not being used.

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

php - Dataprovider and relations (Yii) - Stack Overflow

How to send self defined parameters with the dataProvider

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

Accessing data in a join table with the related models | Wiki | Yii Framework

Sometimes the right place to store application data is in a join table. For example, movie viewers either like or don’t like the movies they watched.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Yii: How to make a dynamic sub-menu

Yii: How to make a dynamic sub-menu | Yii Developer Blog | Scoop.it
I've seen a number of people have been trying to build a dynamic submenu that sits underneath the main menu and changes with each main menu.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

CJuiDatePicker/CActiveForm Yii Framework

CJuiDatePicker/CActiveForm Yii Framework | Yii Developer Blog | Scoop.it

For many of our web applications, we utilize the Yii Framework extensively. A great feature of the framework is the CActiveForm, which allows you to link up your Model to your View in a very easy manner. (See Model-View-Controller Architecture on Wikipedia for a good explanation of this concept.)

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

Working with Forms: Collecting Tabular Input | The Definitive Guide to Yii | Yii Framework

Sometimes we want to collect user input in a batch mode. That is, the user
can enter the information for multiple model instances and submit them all
at once.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

How to validate CSRF token with session | Wiki | Yii Framework

First of all, You must change component config to enable the default Yii CSRF validation.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Yii Paths | El Blog del Antonio

Yii Paths | El Blog del Antonio | Yii Developer Blog | Scoop.it
IntroductionWhen we start learning something and we go through some parts, we completely forget about what was a small issue in our way to get where we are.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

CGridView: Render customized/complex datacolumns | Wiki | Yii Framework

If you have to display a overview of related data in a table,
you can use the CListView, create your view with table/tr/td tags
and implement db-queries in the view to display detaildata of the current (master-)record.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

Special Topics: URL Management | The Definitive Guide to Yii | Yii Framework

Complete URL management for a Web application involves two aspects. First,
when a user request comes in terms of a URL, the application needs to parse
it into understandable parameters.
more...
No comment yet.
Scooped by Mahsa Teimourikia
Scoop.it!

How to implement multiple page layouts in an application | Wiki | Yii Framework

In this tutorial, we describe how to implement multiple layouts for action views in an application.
more...
No comment yet.