Wiki

Sorted by viewsX
Displaying 151-160 of 785 result(s).

How to use GridView with AJAX

Created 2 years ago by Antonio RamirezHow-tos6 comments – viewed 48,704 times – ( +14 ) – version 2.0
With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.
tags: yii2, pjax, widget

Customizing the CMenu Widget

Created 3 years ago by mistrybTips1 comment – viewed 48,490 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

Using Yii with Oracle through PDO

Created 6 years ago by TrejderTips6 comments – viewed 48,424 times – ( +1 ) – version 1.1
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

Use application on production/development environment without making changes

Created 5 years ago by ifdatticTips3 comments – viewed 48,240 times – ( +8 / -1 ) – version 1.1
I like programing on my localhost, however it really bugged me to make changes to index.php & config files on my production server. After combining all available wiki articles on this topic and some trial and error this is what I use for my applications so I could just upload it to production server and it will work without any changes.

Creating a database-driven hierarchical Structure combined with CMenu and superfish

Created 7 years ago by thyseusTutorials9 comments – viewed 48,221 times – ( +15 ) – version 1.1
Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!
tags: menu

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 5 years ago by ibo_sHow-tos2 comments – viewed 48,018 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

using multiple radio button

Created 4 years ago by francis jaTips4 comments – viewed 47,928 times – ( +9 / -1 ) – version 1.1
When we use multiple radio buttons with same name in Yii many people have the problem on getting the value of the selected radiobutton. The radioButtonList can be used for that, but if we need to use radioButton itself to place the button any where in a view, we need to include one more parameter in htmloption array().

yii2-app-advanced on single domain (Apache, Nginx)

Created about a year ago by MadAndHow-tos3 comments – viewed 47,887 times – ( +9 ) – version 2.0
If you develop rather complex applications with Yii2, you might already be familiar with yii2-app-advanced application template. Well, the template is awesome and provides high flexibility regarding code/configuration sharing among parts of an application.

Ajax update

Created 6 years ago by zaccariaTips2 comments – viewed 47,563 times – ( +21 / -2 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

How to filter CGridView with From Date and To Date datepicker

Created 4 years ago by kiran sharmaTips16 comments – viewed 47,517 times – ( +17 / -4 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.