Sorted by ratingX
Displaying 41-50 of 779 result(s).

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

Created 2 years ago by Kartik VHow-tos0 comments – viewed 14,600 times – ( +37 ) – 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.

Actions code reuse with CAction

Created 5 years ago by Antonio RamirezHow-tos13 comments – viewed 39,986 times – ( +36 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Add information to Yii::app()->user by extending CWebUser

Created 6 years ago by atrandafirTutorials11 comments – viewed 124,199 times – ( +35 ) – version 1.1
This little tutorial explains a way how you can retrieve more parameters from Yii::app()->user by adding a component that extends CWebUser and retrieves the user information from database table named User.

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

Created 6 years ago by andy_sTutorials27 comments – viewed 102,388 times – ( +35 ) – version 1.1
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.

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

Created 2 years ago by Kartik VHow-tos0 comments – viewed 8,146 times – ( +35 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

XUpload Workflow

Created 4 years ago by AsgarothTutorials33 comments – viewed 69,231 times – ( +34 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

Yii Related Sites

Created 5 years ago by jacmoeOthers4 comments – viewed 49,443 times – ( +34 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

Extension Development (beginner)

Created 2 years ago by sefburhanTutorials2 comments – viewed 19,090 times – ( +34 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Tags manipulation using Select2 in single field

Created 2 years ago by sefburhanTutorials0 comments – viewed 5,414 times – ( +33 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 3 years ago by softarkTutorials13 comments – viewed 44,863 times – ( +33 ) – 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.