Wiki

Sorted by date (updated)X
Displaying 291-300 of 777 result(s).

Debugging CActiveRecord failed save() attempts

Updated 2 years ago by BoazTips0 comments – viewed 19,637 times – ( +5 ) – version 1.1
When you're filling up a form of a CActiveRecord (using CActiveForm for example), usually you'll construct your code so that in case of validation error you'll get back the form with the error displayed back to you, typically when CActiveForm.errorSummary() is used. This is how its done by Gii.

An Easy Solution for Dependent dropDownList Using AJAX

Updated 2 years ago by Kostas Apazidis (KonApaz)Tips11 comments – viewed 76,229 times – ( +15 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Updated 2 years ago by Kartik VHow-tos2 comments – viewed 26,159 times – ( +38 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

two or more different collected data in one CGridView

Updated 2 years ago by CeBeHow-tos2 comments – viewed 8,987 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Caching strategy

Updated 2 years ago by CeBeHow-tos9 comments – viewed 6,267 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

Yiistrap TbHtml::navbarSearchForm

Updated 2 years ago by CeBeTips0 comments – viewed 8,548 times – version 1.1
Hi all,

Tunneling using SSH in a limited enviroment

Updated 2 years ago by CeBeOthers0 comments – viewed 6,176 times – ( +2 ) – version all
This tutorial describes how to connect to a remote service via tunnel when only most basic software is available on the remote server. It is not directly related to Yii. It could be hovewer useful for web developers working with shared hosting sites with limited access.

Yii CGridView add custom button

Updated 2 years ago by CeBeHow-tos1 comment – viewed 29,474 times – ( +6 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

WordPress Role Based Authentication in Yii

Updated 2 years ago by CeBeTutorials0 comments – viewed 9,870 times – ( +4 / -1 ) – version 1.1
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.