Articles in category "tutorials", sorted by ratingX
Displaying 121-130 of 251 result(s).

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

Created 6 years ago by nancoderTutorials6 comments – viewed 36,417 times – ( +7 ) – version 1.1
Info: An extension was created based on this wiki page. See:

Add charts / print buttons to your webapp

Created 6 years ago by CoLTTutorials3 comments – viewed 25,389 times – ( +7 ) – version 1.1
In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
tags: chart, print, flash, excel, csv, pdf, xls

Custom Number Formatting or Decimal Separators and i18n

Created 4 years ago by c@cbaTutorials8 comments – viewed 51,997 times – ( +7 ) – version 1.1
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

Implementing a Registration Process using the yii-user-management module

Created 5 years ago by thyseusTutorials6 comments – viewed 63,718 times – ( +7 ) – version 1.1
Hi Folks,

RBAC Super Simple with Admin and User

Created about a year ago by evercodeTutorials10 comments – viewed 47,864 times – ( +16 / -3 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

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

Created 4 years ago by bluezedTutorials5 comments – viewed 30,127 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:

Create / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Created 3 years ago by codesutraTutorials11 comments – viewed 52,290 times – ( +6 ) – version 1.1
Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.

Multiple file upload handler

Created 4 years ago by hasanaviTutorials2 comments – viewed 24,151 times – ( +6 ) – version 1.1

Ajax Login form with validation errors inside jQuery modal dialog

Created 3 years ago by praviTutorials4 comments – viewed 34,436 times – ( +6 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

Widget Personalizado

Created 4 years ago by CálcioTutorials0 comments – viewed 7,557 times – ( +6 ) – version 1.1
Here I will explain with the clear way and objective an use the widget with CDataProvider.