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 48,441 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

Filter & Sort by Summary Data in GridView Yii 2.0

Created 3 years ago by Kartik VTutorials7 comments – viewed 44,843 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 7 years ago by Y!!Tutorials5 comments – viewed 43,600 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 42,920 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.

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

Created 8 years ago by Ivo RoperTutorials1 comment – viewed 42,207 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.

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

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

Multiple Databases and Multiple Domains

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

To configure Yii path in Windows platform

Created 6 years ago by CodaTutorials2 comments – viewed 41,100 times – ( +3 / -7 ) – version 1.1
I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,

How to create/save more Model inputs and make them repeatable with jQuery

Created 8 years ago by qiangTutorials3 comments – viewed 40,755 times – ( +12 / -1 ) – version 1.1
This is the first real problem that I encountered using Yii, trying to make a Model input repeatable in the form, validate and save them.

A very easy way to setup yiic on WAMP server (without extra windows settings)

Created 4 years ago by Kostas Apazidis (KonApaz)Tutorials10 comments – viewed 40,739 times – ( +6 / -2 ) – version 1.1
Assuming that you have already install the wampserver on your windows.