Wiki

Sorted by commentsX
Displaying 371-380 of 765 result(s).

Display a nice exception message on ajax requests

Created 4 years ago by Maurizio Domba CerinTips3 comments – viewed 33,593 times – ( +13 ) – version 1.1
When an exception is thrown in our code like
tags: error, exception

Simple Mail Queue

Created 2 years ago by waterloomattTutorials3 comments – viewed 13,064 times – ( +10 / -2 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

How to translate and do the translations the easy way

Created 4 years ago by Roman SolomatinHow-tos3 comments – viewed 58,387 times – ( +28 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.

More on SSE and Yii

Created 2 years ago by FirebreakerTips3 comments – viewed 4,693 times – ( +2 )
This is not actually Yii involved.

Step by step for how to full export Yii2 grid to excel

Created about a year ago by Scott_HuangTips3 comments – viewed 19,712 times – version 2.0
We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

Como trasponer una lista creada con CHtml::checkBoxList

Created 4 years ago by rdjteamTips3 comments – viewed 11,281 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 4 years ago by dckurushinFAQs2 comments – viewed 38,026 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 6 years ago by krillzipTutorials2 comments – viewed 17,633 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 4 years ago by puteraTutorials2 comments – viewed 20,024 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

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

Created 6 years ago by qiangTutorials2 comments – viewed 150,591 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.