Wiki

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

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

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

caching controllers with filters()

Created 5 years ago by RusAlexHow-tos1 comment – viewed 12,297 times – ( +2 ) – version 1.1
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was

How to create Module based Login

Created 2 years ago by Ibrar TuriHow-tos1 comment – viewed 12,294 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.

Ordering Models by Weight with CJuiSortable

Created 6 years ago by Matt KelliherTutorials2 comments – viewed 12,230 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,204 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,174 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,168 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,138 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,110 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,100 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider