Wiki

Sorted by viewsX
Displaying 501-510 of 785 result(s).

Yii HMVC

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

Simple Jui Autocomplete in yii2

Created about a year ago by ajithTutorials3 comments – viewed 12,848 times – ( -1 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

CRUD operation in Yii framework

Created 2 years ago by Mohammad FareedTutorials4 comments – viewed 12,839 times – ( +1 / -6 ) – version all
Simple Yii Script for performing CRUD operations:

CGridView Date Range Without Cookies or Session (External Filtering)

Created 3 years ago by ezekielnoobHow-tos6 comments – viewed 12,778 times – ( +5 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

Model validation for field ranges using yii2-field-range extension

Created 2 years ago by Kartik VTips0 comments – viewed 12,656 times – ( +39 ) – version 2.0
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.

caching controllers with filters()

Created 5 years ago by RusAlexHow-tos1 comment – viewed 12,646 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

Using sub query for doubletts

Created 4 years ago by mbTips3 comments – viewed 12,616 times – ( +2 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

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

Created 3 years ago by thyseusTips4 comments – viewed 12,597 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:

Como trasponer una lista creada con CHtml::checkBoxList

Created 5 years ago by rdjteamTips3 comments – viewed 12,574 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:

Ordering Models by Weight with CJuiSortable

Created 6 years ago by Matt KelliherTutorials2 comments – viewed 12,553 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.