Wiki

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

Encapsulate db and module configurations

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

Advanced CTabView using CClipWidget

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

Limit a CGridView field to some preset length.

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

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

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

Bootstrap Yii cGridView add popup button

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

PHP built-in server integration

Created about a year ago by HeadshakerHow-tos1 comment – viewed 12,357 times – version 2.0
I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)

Display Status image on CGridView column

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

How to catch and log MySQL deadlock errors

Created 4 years ago by sebTips1 comment – viewed 12,217 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

ChromePHP for Yii

Created 6 years ago by imeheszTips0 comments – viewed 12,154 times – ( +3 / -2 ) – version 1.1
ChromePHP is a console logging extension for Google Chrome.

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

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