Wiki

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

Yii 2.0: Write & use a custom Component in Yii2.0 (Advanced Template)

Created 2 years ago by Deepak PradhanHow-tos1 comment – viewed 21,978 times – version 2.0
This is an extension to Yii 2.0: Write & use a custom Component in Yii2.0 for Advanced Template

Debugging CActiveRecord failed save() attempts

Created 3 years ago by BoazTips0 comments – viewed 21,882 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.

multiple CActiveDataProviders in one CGridView

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos7 comments – viewed 21,748 times – ( +8 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Multilanguage web site controlling by get request and database allowed languages

Created 5 years ago by Igor IvanovicTutorials2 comments – viewed 21,730 times – ( +6 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

Image resize on the fly

Created 4 years ago by TpoxaHow-tos4 comments – viewed 21,611 times – ( +4 ) – version 1.1
For example have folder with image resources which are public accessible
tags: yii, image-resize

Show captcha after <N> unsuccessfull attempts

Created 4 years ago by zitterHow-tos7 comments – viewed 21,421 times – ( +15 / -5 ) – version 1.1
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

Multi level dropdown menu in Bootstrap

Created 3 years ago by sefburhanTutorials1 comment – viewed 21,420 times – ( +38 ) – version 1.1
To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps

Two Login in same form in Yii application , with two tables

Created 3 years ago by BaluTutorials6 comments – viewed 21,410 times – ( +4 / -7 ) – version 1.1
login links will be

Integrating with other frameworks

Created 7 years ago by KJediTutorials4 comments – viewed 21,369 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

CGridView and AjaxForm Connect

Created 6 years ago by PinkBrainPlanHow-tos2 comments – viewed 21,175 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView