Wiki articles in category Tutorials

Showing 61-80 of 258 items.

Making a CGridView to keep the selection between page changes

Created 5 years ago by bluyell, updated 5 years ago by CeBe.

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.

1 0
3 followers
Viewed: 8 622 times
Version: 1.1
Category: Tutorials

CSqlDataProvider in CGridView

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by CeBe.

In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

3 0
9 followers
Viewed: 29 723 times
Version: 1.1
Category: Tutorials

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

Created 5 years ago by Kartik V, updated 3 months ago by softark.

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

12 2
64 followers
Viewed: 193 347 times
Version: 2.0
Category: Tutorials

Saving CGridView filter

Created 5 years ago by sefburhan, updated 5 years ago by CeBe.

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

1 0
31 followers
Viewed: 10 480 times
Version: 1.1
Category: Tutorials

Integrate Zend 2 XML writer into Yii

Created 5 years ago by Jonny, updated 5 years ago by CeBe.

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.

2 0
4 followers
Viewed: 7 018 times
Version: 1.1
Category: Tutorials
Tags: XML, zend

Tags manipulation using Select2 in single field

Created 5 years ago by sefburhan, updated 5 years ago by CeBe.

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.

2 0
35 followers
Viewed: 7 964 times
Version: 1.1
Category: Tutorials

Database Driven CMenu

Created 5 years ago by Preacher, updated 5 years ago by CeBe.

Purpose

0 0
4 followers
Viewed: 5 610 times
Version: 1.1
Category: Tutorials
Tags:

Extension Development (beginner)

Created 5 years ago by sefburhan, updated 5 years ago by CeBe.

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.

Step 01: Have a Strategy

  • Is my extension just for fun/demonstration purposes or for everyday use in the real world? -...

default csrf security and ajax post in one controller

Created 5 years ago by jasonban, updated 5 years ago by CeBe.

Hello Yii friends

0 3
8 followers
Viewed: 19 475 times
Version: 1.1
Category: Tutorials

Multi level dropdown menu in Bootstrap

Created 5 years ago by sefburhan, updated 5 years ago by CeBe.

To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps

4 0
38 followers
Viewed: 26 882 times
Version: 1.1
Category: Tutorials

WordPress Role Based Authentication in Yii

Created 5 years ago by Bob G, updated 5 years ago by CeBe.

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.

4 0
8 followers
Viewed: 13 876 times
Version: 1.1
Category: Tutorials
2 0
9 followers
Viewed: 11 562 times
Version: 1.1
Category: Tutorials

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

Created 5 years ago by Balu, updated 4 years ago by Rohit Suthar.

login links will be

3 4
6 followers
Viewed: 25 624 times
Version: 1.1
Category: Tutorials

Simple Ajax popup

Created 5 years ago by Rajith R, updated 5 years ago by Rajith R.

Simple Ajax popup view with Ajax link

5 0
9 followers
Viewed: 43 359 times
Version: 1.1
Category: Tutorials

Ajax Login form with validation errors inside jQuery modal dialog

Created 5 years ago by pravi, updated 5 years ago by Maxxer.

I would like to share my little experience with Yii to the community in the form of the below small wiki:

3 0
9 followers
Viewed: 39 894 times
Version: 1.1
Category: Tutorials

Clean JavaScript code in your views

Created 5 years ago by nineinchnick, updated 4 months ago by samdark.

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
24 followers
Viewed: 34 623 times
Version: 1.1
Category: Tutorials

Tabular Input, Validating and Saving related models

Created 5 years ago by Xavier John, updated 4 years ago by hasanavi.

This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

4 0
16 followers
Viewed: 37 079 times
Version: 1.1
Category: Tutorials

Email template functionality with manage content from database

Created 5 years ago by kiran sharma, updated 4 years ago by yugene.

I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)

4 0
12 followers
Viewed: 37 525 times
Version: 1.1
Category: Tutorials

Help pages using Markdown view renderer

Created 5 years ago by nineinchnick, updated 5 years ago by nineinchnick.

This tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.

0 0
4 followers
Viewed: 6 497 times
Version: Unknown (update)
Category: Tutorials

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 5 years ago by Ankit Modi, updated 4 years ago by Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 14 628 times
Version: 1.1
Category: Tutorials