Wiki

Sorted by viewsX
Displaying 31-40 of 482 result(s).

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 3 years ago by thyseusTutorials4 comments – viewed 45,470 times – ( +12 / -2 )
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Cookie management in Yii

Created 2 years ago by TrejderHow-tos4 comments – viewed 45,425 times – ( +39 / -1 )
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

Organize directories for applications with front-end and back-end using WebApplicationEnd behavior

Created 3 years ago by andy_sTutorials20 comments – viewed 45,131 times – ( +25 )
Previously there was described a way to build an application with front-end and back-end. I would like to continue this theme and suggest another way to organize directories using WebApplicationEnd behavior.

Uploading multiple images with CMultiFileUpload

Created 2 years ago by rsinghHow-tos11 comments – viewed 44,136 times – ( +33 )
"The documentation for CMultiFileUpload isn't clear!"

Configuring PhpStorm IDE for Yii

Created 2 years ago by samdarkTips13 comments – viewed 44,090 times – ( +52 / -1 )
In order to be able to get from render or renderPartial to the view, from widget to widget class, from relations to model classes you need to install additional plugin called YiiStorm.
tags: IDE, PhpStorm

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

Created 4 years ago by qiangTutorials10 comments – viewed 41,975 times – ( +25 )
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.

Understanding "Safe" Validation Rules

Created 2 years ago by Steve FriedlFAQs8 comments – viewed 41,749 times – ( +74 )
A common source of confusion among new Yii users is how the 'safe' validator works, how it works with other validators, and why it's necessary in the first place. This article means to clear up this confusion, as well as explain the notion of Massive Assignment.

Relations: BELONGS_TO versus HAS_ONE

Created 2 years ago by Steve FriedlFAQs6 comments – viewed 40,870 times – ( +59 )
It's very common to see new Yii users confusing the relations HAS_ONE and BELONGS_TO, and getting it wrong means you won't get proper values back. And though we'll talk about HAS_MANY as well, we're specifically omitting the MANY_MANY relation because it's a whole different animal.

Using search engine and user friendly URLs

Created 3 years ago by qiangTutorials6 comments – viewed 40,133 times – ( +18 )
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL

How to setup RBAC with a php file

Created 3 years ago by bettorHow-tos12 comments – viewed 39,382 times – ( +24 / -4 )
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.