Wiki

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

belajar AR : part 1 (learn AR : part 1)

Created 2 years ago by riandayTutorials0 comments – viewed 5,205 times
hai teman yii... apa kabar.. kembali lagi bersama catatan saya..
tags: indonesia

Twitter Bootstrap style Breadcrumbs

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

CJuiTabs Content

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

The Comedy of Errors

Created about a year ago by fsbOthers3 comments – viewed 5,151 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.

CGridView keep focus on the control after filtering

Created about a year ago by jayalaHow-tos0 comments – viewed 5,124 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,109 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.

BaseModuleAR class with MultiActiveRecord

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

Handling Bootstrap active tabs in Yii via URL

Created 4 months ago by JamesBarnsleyHow-tos4 comments – viewed 5,062 times – ( +5 )
As a lead developer at Mutable Labs I found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

Como trasponer una lista creada con CHtml::checkBoxList

Created about a year ago by rdjteamTips3 comments – viewed 5,031 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:

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

Created 2 years ago by DavidhhuanTutorials1 comment – viewed 5,000 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