Wiki

Sorted by viewsX
Displaying 491-500 of 777 result(s).

checkBox in CGridview

Created about a year ago by n-rOthers0 comments – viewed 12,283 times – ( +1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :

How to create Module based Login

Created 2 years ago by Ibrar TuriHow-tos1 comment – viewed 12,282 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Book Has Author - Many to Many relations using Kartik\Select2

Created 2 years ago by thiagoc7How-tos2 comments – viewed 12,281 times – ( +3 ) – version 2.0
I could make this work following same useful tips from this post.

Ordering Models by Weight with CJuiSortable

Created 6 years ago by Matt KelliherTutorials2 comments – viewed 12,225 times – ( +10 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

How to display data from two tables in TbGridView using DataProvider?

Created 2 years ago by Rohit SutharTutorials4 comments – viewed 12,181 times – ( +6 / -1 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

Encapsulate db and module configurations

Created 6 years ago by ricardogranaTutorials3 comments – viewed 12,169 times – ( +7 ) – version 1.1
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
tags: module

Using CListView to display items next to each other (in columns)

Created 3 years ago by thyseusTips4 comments – viewed 12,159 times – ( +11 )
When using CListView to display multiple views next to each other, we can use the $index variable inside the viewFile to achieve this. As far as i know there is no extension or out-of-the-box functionality for this, so we need to apply a little hack:

Update related models of a model using listBox and checkBoxList in the form

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 12,123 times – ( +2 ) – version 1.1
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that

Advanced CTabView using CClipWidget

Created 7 years ago by krillzipTutorials1 comment – viewed 12,109 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Yii HMVC

Created 3 years ago by ezekielnoobHow-tos6 comments – viewed 12,089 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider