Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 91-100 of 250 result(s).

Tabular Input, Validating and Saving related models

Created 3 years ago by Xavier JohnTutorials5 comments – viewed 30,624 times – ( +8 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Starting your Yii Project Reference Guide (with Git VCS in Linux)

Created 4 years ago by marcanuyTutorials5 comments – viewed 29,899 times – ( +18 ) – version 1.1
I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 14,768 times – ( +3 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

Simplified meta tags

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

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 6 years ago by thyseusTutorials5 comments – viewed 70,971 times – ( +12 / -4 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Add information to Yii::app()->user by extending CWebUser (better version)

Created 6 years ago by emixTutorials5 comments – viewed 34,979 times – ( +5 / -1 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Integrating FirePHP

Created 5 years ago by ricardogranaTutorials5 comments – viewed 13,057 times – ( +8 ) – version 1.1
Install Firebug plugin for Firefox from here.

Simple way to use AutoComplete using different ID and Display Value

Created 4 years ago by raheelk2kTutorials5 comments – viewed 24,961 times – ( +11 ) – version 1.1
Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.

Saving CGridView filter

Created 2 years ago by sefburhanTutorials5 comments – viewed 7,217 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

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 4 years ago by bluezedTutorials5 comments – viewed 29,847 times – ( +10 / -1 ) – version 1.1
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried: