Wiki

Sorted by ratingX
Displaying 51-60 of 733 result(s).

Single sign on across multiple subdomains

Created 4 years ago by ianarĂ©How-tos9 comments – viewed 32,376 times – ( +31 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 2 years ago by softarkTutorials12 comments – viewed 31,058 times – ( +31 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

Created 9 months ago by Kartik VTutorials0 comments – viewed 8,985 times – ( +31 ) – version 2.0
The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

How to automate timestamps in ActiveRecord models

Created 6 years ago by dalipTutorials8 comments – viewed 114,185 times – ( +30 ) – version 1.1
There are many ways to automate the setting of timestamps in yii ActiveRecord models. Three are presented here:

Searching and Sorting by Count of Related Items in CGridView

Created 2 years ago by softarkHow-tos13 comments – viewed 33,137 times – ( +30 ) – version 1.1
Let's say we have two models and relation between them:

Creating Yii applications with composer

Created 2 years ago by schmunkTutorials2 comments – viewed 48,440 times – ( +30 ) – version 1.1
Creating Yii applications with composer

Using the yii2-datecontrol extension along with yii2-detail-view widget

Created 9 months ago by Kartik VHow-tos0 comments – viewed 3,014 times – ( +30 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

Managing different Bootstrap form layouts with yii2-field-range extension.

Created 9 months ago by Kartik VHow-tos0 comments – viewed 4,959 times – ( +30 ) – version 2.0
This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

Yii for beginners 2

Created 2 years ago by rackyczTutorials2 comments – viewed 40,455 times – ( +30 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

How to add more information to Yii::app()->user

Created 6 years ago by qiangTutorials2 comments – viewed 129,481 times – ( +29 ) – version 1.1
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.