Wiki

Sorted by viewsX
Displaying 511-520 of 784 result(s).

Encapsulate db and module configurations

Created 7 years ago by ricardogranaTutorials3 comments – viewed 12,733 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

Limit a CGridView field to some preset length.

Created 4 years ago by le_topHow-tos1 comment – viewed 12,731 times – ( +13 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

Como trasponer una lista creada con CHtml::checkBoxList

Created 5 years ago by rdjteamTips3 comments – viewed 12,728 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 7 years ago by Matt KelliherTutorials2 comments – viewed 12,702 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.

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 2 years ago by realteboTutorials0 comments – viewed 12,621 times – ( +2 ) – version 2.0
Una delle soluzioni che preferisco per studiare un framework PHP รจ avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette spesso di lavorare direttamente su una chiavetta USB, potendo passare da un computer ad un altro di casa, o al lavoro, o dai clienti per le demo, senza alcun problema, avendo sempre con me l'ambiente server completo: server web, server MySQL, interprete php.

Advanced CTabView using CClipWidget

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

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created about a year ago by Scott_HuangHow-tos1 comment – viewed 12,585 times – ( +5 ) – version 2.0
1. Create Extension in yii2.

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

Created 5 years ago by c@cbaHow-tos3 comments – viewed 12,571 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.

Display Status image on CGridView column

Created 3 years ago by Ankit ModiTutorials1 comment – viewed 12,540 times – ( +2 / -1 ) – version all
How to display status image on admin gridview.

How to get & store Last Login DateTime in database?

Created 2 years ago by Rohit SutharHow-tos2 comments – viewed 12,433 times – ( +7 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).