Wiki

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

Advanced CTabView using CClipWidget

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

[Updated] How to create & call custom global function in whole application?

Created about a year ago by Rohit SutharTutorials8 comments – viewed 11,879 times – ( +5 / -2 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

Como trasponer una lista creada con CHtml::checkBoxList

Created 4 years ago by rdjteamTips3 comments – viewed 11,868 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:

How to extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

Created 4 years ago by c@cbaHow-tos3 comments – viewed 11,776 times – ( +9 ) – version 1.1
As you know, the CDetailView widget displays details of a single model. If no formatting is specified, boolean values that are stored in the database as 0 and 1, are represented in the detail view as 0 and 1. If formatted as boolean, they are represented as 'No' and 'Yes'. We want to add i18n support, so that Yes and No appear in the current language.

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

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

Yii HMVC

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

CGridView Date Range Without Cookies or Session (External Filtering)

Created 2 years ago by ezekielnoobHow-tos6 comments – viewed 11,731 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:

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

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

checkBox in CGridview

Created about a year ago by n-rOthers0 comments – viewed 11,667 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 implement form events

Created about a year ago by Antonio RamirezHow-tos4 comments – viewed 11,663 times – ( +6 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to