Wiki

Sorted by commentsX
Displaying 381-390 of 784 result(s).

Como trasponer una lista creada con CHtml::checkBoxList

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

Common Yii questions

Created 5 years ago by dckurushinFAQs2 comments – viewed 41,565 times – ( +21 ) – version 1.1
Here I suggest to list the most common questions you meet in the forum or freenode irc. Feel free to edit this wiki article, and add another question with answer

How to setup FCKeditor

Created 8 years ago by krillzipTutorials2 comments – viewed 19,324 times – ( +3 / -1 ) – version 1.1
To start with you need to download the latest stable release of FCKeditor. Extract the downloaded file and place the fckeditor/ folder in your applications webroot directory.

Functional Testing in Yii using Goutte and PHPUnit

Created 5 years ago by puteraTutorials2 comments – viewed 22,199 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

How to add more information to Yii::app()->user

Created 8 years ago by qiangTutorials2 comments – viewed 171,029 times – ( +31 ) – version 1.1
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.

File uploads in CForm (Form builder)

Created 5 years ago by Luke JurgsHow-tos2 comments – viewed 42,491 times – ( +12 ) – version 1.1
While there is a reasonable amount of documentation regarding CForm (form builder) and file uploads seperately, there really is not any coverage of both in combination.

Moving the vendor directory for multiple projects

Created 2 years ago by mariosimaremareHow-tos2 comments – viewed 12,221 times – ( +5 / -1 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

Eclipse PDT - code-hints, references and other goodies

Created 8 years ago by mindehTutorials2 comments – viewed 30,220 times – ( +14 ) – version 1.1
Since PHP is dynamically typed language, the way IDE may help you is limited.
tags: IDE

Insert a multirow header in CGridView

Created 3 years ago by PeppeHow-tos2 comments – viewed 16,113 times – ( +6 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 2 years ago by robregonmHow-tos2 comments – viewed 12,402 times – ( +11 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.