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

Actions code reuse with CAction

Created 4 years ago by Antonio RamirezHow-tos13 comments – viewed 36,407 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

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

Created about a year ago by Kartik VHow-tos0 comments – viewed 8,994 times – ( +36 ) – 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.

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

Created 5 years ago by atrandafirTutorials11 comments – viewed 115,823 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 5 years ago by andy_sTutorials27 comments – viewed 94,099 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 about a year ago by Kartik VHow-tos0 comments – viewed 5,379 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 3 years ago by AsgarothTutorials33 comments – viewed 62,372 times – ( +34 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

Yii Related Sites

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

Extension Development (beginner)

Created about a year ago by sefburhanTutorials2 comments – viewed 17,779 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 about a year ago by sefburhanTutorials0 comments – viewed 4,441 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.

Create your own Validation Rule

Created 4 years ago by nickcvHow-tos13 comments – viewed 162,046 times – ( +76 / -3 ) – version 1.1
Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.