Wiki

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

Encapsulate db and module configurations

Created 6 years ago by ricardogranaTutorials3 comments – viewed 12,088 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,086 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:

Simple way to implement Dynamic Tabular Inputs

Created about a year ago by ezekielnoobTutorials5 comments – viewed 12,063 times – ( +4 ) – version all

Advanced CTabView using CClipWidget

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

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

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

checkBox in CGridview

Created about a year ago by n-rOthers0 comments – viewed 11,967 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 :

Como trasponer una lista creada con CHtml::checkBoxList

Created 4 years ago by rdjteamTips3 comments – viewed 11,966 times – ( +2 ) – version 1.1
En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:

Yii2 default values for Index data Provider

Created 2 years ago by CTalaTips2 comments – viewed 11,954 times – ( +3 ) – version 2.0
Guys,

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

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

Yii HMVC

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