Wiki

Sorted by viewsX
Displaying 571-580 of 771 result(s).

Load data from internal/external source to fill form fields

Created about a year ago by skwordenHow-tos3 comments – viewed 8,893 times – ( +1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

Use phing to make Yii application "installable"

Created 4 years ago by sensorarioHow-tos3 comments – viewed 8,842 times – ( +7 ) – version 1.1
To use this "how-to", you need to install phing in your machine.
tags: phing

Autocomplete in console command

Created 4 years ago by StammTutorials1 comment – viewed 8,831 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

Role Management

Created about a year ago by Dency G BHow-tos0 comments – viewed 8,829 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Functional tests independing from your urlManager settings

Created 5 years ago by RusAlexTips1 comment – viewed 8,813 times – version 1.1
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

Create Form With DynamicModel

Created about a year ago by Misbahul D MunirTips4 comments – viewed 8,802 times – ( +1 ) – version 2.0
In yii2 we can create form without create FormModel. Here we go
tags: form, yii2, model

Prevent asset publishing for CListView

Created 5 years ago by MikeHow-tos2 comments – viewed 8,800 times – ( +2 ) – version 1.1
If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:
tags: CListView, Assets

Adding Bash Command Completion for Yii Commands

Created 4 years ago by Dustin OpreaHow-tos0 comments – viewed 8,776 times – ( +3 ) – version 1.1
This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

yii vim eclimd how it works

Created 5 years ago by RusAlexHow-tos1 comment – viewed 8,766 times – ( +10 ) – version 1.1
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
tags: vim, eclimd, vimrc

two or more different collected data in one CGridView

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 8,749 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.