Wiki

Articles in category "tutorials"X
Displaying 41-50 of 238 result(s).

Making a CGridView to keep the selection between page changes

Created about a year ago by bluyellTutorials0 comments – viewed 3,520 times – ( +1 / -1 ) – version 1.1
You may find this usefull when you discover your CGridView lost the selection after an update or after a page change, nicely i have build a new extension to cover this problem in a very easy way.

CSqlDataProvider in CGridView

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials8 comments – viewed 11,434 times – ( +7 ) – version 1.1
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created about a year ago by Kartik VTutorials21 comments – viewed 32,531 times – ( +48 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Saving CGridView filter

Created about a year ago by sefburhanTutorials5 comments – viewed 5,224 times – ( +27 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

Integrate Zend 2 XML writer into Yii

Created about a year ago by JonnyTutorials0 comments – viewed 3,179 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML

Tags manipulation using Select2 in single field

Created about a year ago by sefburhanTutorials0 comments – viewed 3,695 times – ( +33 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

Database Driven CMenu

Created about a year ago by PreacherTutorials0 comments – viewed 3,144 times – version 1.1
Purpose

Extension Development (beginner)

Created about a year ago by sefburhanTutorials2 comments – viewed 16,631 times – ( +34 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

default csrf security and ajax post in one controller

Created about a year ago by jasonbanTutorials3 comments – viewed 6,384 times – ( +1 / -2 ) – version 1.1
Hello Yii friends

Multi level dropdown menu in Bootstrap

Created about a year ago by sefburhanTutorials1 comment – viewed 12,523 times – ( +37 ) – version 1.1
To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps