Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 81-90 of 255 result(s).

Exporting CGridView results to CSV file

Created 5 years ago by RusAlexTutorials9 comments – viewed 49,384 times – ( +6 / -4 ) – version 1.1
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

Installation guide: Yii-2 advanced template with RBAC system

Created about a year ago by Sherin JoseTutorials3 comments – viewed 47,425 times – ( +13 / -3 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

Filter & Sort by Summary Data in GridView Yii 2.0

Created 3 years ago by Kartik VTutorials7 comments – viewed 47,056 times – ( +40 / -5 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Simplified meta tags

Created 8 years ago by Y!!Tutorials5 comments – viewed 44,357 times – ( +13 / -1 ) – version 1.1
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

Relational data fields display and edit with the yii2-detail-view extension

Created 3 years ago by Kartik VTutorials2 comments – viewed 44,336 times – ( +40 / -1 ) – version 2.0
If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

Use different environments (development, production, etc) in your app with EASY Environment Class

Created 7 years ago by nancoderTutorials6 comments – viewed 43,376 times – ( +7 / -1 ) – version 1.1
Info: An extension was created based on this wiki page. See: http://www.yiiframework.com/extension/yii-environment/

Beginner / Intro Tutorials (please add to / update this list)

Created 8 years ago by Ivo RoperTutorials1 comment – viewed 42,461 times – ( +5 / -1 ) – version 1.1
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

How to access a component of a module from within the module itself

Created 8 years ago by OriginalCopyTutorials4 comments – viewed 41,919 times – ( +5 / -2 ) – version 1.1
The Yii documentation states:
tags: module

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Created 4 years ago by softarkTutorials11 comments – viewed 41,839 times – ( +17 / -1 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Multiple Databases and Multiple Domains

Created 7 years ago by got 2 doodleTutorials2 comments – viewed 41,743 times – ( +15 / -3 ) – version 1.1
Add these lines in /config/main.php
tags: database