Wiki

Sorted by viewsX
Displaying 361-370 of 467 result(s).

The Comedy of Errors

Created about a year ago by fsbOthers3 comments – viewed 5,117 times – ( +18 )
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created 3 months ago by Rajith RTips0 comments – viewed 5,109 times – ( +4 )
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

CGridView keep focus on the control after filtering

Created about a year ago by jayalaHow-tos0 comments – viewed 5,097 times – ( +4 )
You can find the reason why I wrote this article here.
tags: CGridView, filter

Q: My yiic tool cannot run model and crud commands. Why?

Created 4 years ago by qiangTutorials1 comment – viewed 5,091 times
Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

CJuiTabs Content

Created 7 months ago by mbalaTips2 comments – viewed 5,073 times – ( +5 )
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Twitter Bootstrap style Breadcrumbs

Created 3 months ago by junaidatariHow-tos0 comments – viewed 5,071 times – ( +3 / -1 )
1: Create breadcrumb in your view file.

BaseModuleAR class with MultiActiveRecord

Created about a year ago by dinhtrungTips0 comments – viewed 5,043 times – ( +2 )
MultiActiveRecord is an extension that add support for multiple database connection for your application.

embed a view file of the class which implement the CAction.

Created 2 years ago by DavidhhuanTutorials1 comment – viewed 4,971 times – ( +1 / -1 )
In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views

Como trasponer una lista creada con CHtml::checkBoxList

Created about a year ago by rdjteamTips3 comments – viewed 4,966 times – ( +2 )
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:

Yii tinymce结合syntaxHighlighter和syntax

Created 2 years ago by Darwin WenTutorials0 comments – viewed 4,938 times – ( +1 )
首先我们需要下载好Yii tinymce扩展,放入你的extensions目录下,