Wiki

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

Bootstrap Yii cGridView add popup button

Created 2 years ago by Arockia JohnsonHow-tos6 comments – viewed 12,650 times – ( +4 ) – version 1.1
Hi,

Encapsulate db and module configurations

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

Ordering Models by Weight with CJuiSortable

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

Limit a CGridView field to some preset length.

Created 4 years ago by le_topHow-tos1 comment – viewed 12,604 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.

Advanced CTabView using CClipWidget

Created 8 years ago by krillzipTutorials1 comment – viewed 12,565 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 extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

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

How to install Yii 2 advanced on a shared hosting environment

Created about a year ago by oligalmaHow-tos1 comment – viewed 12,499 times – ( +3 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

Display Status image on CGridView column

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

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

Created 2 years ago by realteboTutorials0 comments – viewed 12,413 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.

How to catch and log MySQL deadlock errors

Created 4 years ago by sebTips1 comment – viewed 12,342 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database