Wiki

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

Manage (Target) Language in Multilingual Applications + A Language Selector Widget (i18n)

Created about a year ago by c@cbaTutorials9 comments – viewed 15,479 times – ( +9 )
In case of a multilingual application, one might consider it a reasonable approach to store the preferred language of the user in a session variable, and after that, every time a page is requested, to check this session variable and render the page in the indicated language. This tutorial shows a Yii-way of doing this. We implement an event handler for the onBeginRequest event; as the name of the event suggests, this event handler will be called at the beginning of each request, so its a good place to check whether a language is provided (via post, session or cookie) and set the application language accordingly. We also implement a simple Language-Selector Widget, which can render the language options as ajax-links or as a drop-down list.

Add charts / print buttons to your webapp

Created 3 years ago by CoLTTutorials1 comment – viewed 15,347 times – ( +7 )
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

Simple access control

Created about a year ago by szfjozsefTutorials4 comments – viewed 14,961 times – ( +3 / -6 )
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

How To Connect With Twitter From Yii

Created 4 years ago by lucifuriousTutorials1 comment – viewed 14,939 times – ( +3 / -1 )
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
tags: twitter

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

Created 2 years ago by emixTutorials3 comments – viewed 14,190 times – ( +3 )
I found a better solution.

First Yii App: CTabView

Created 4 years ago by meanpenguinTutorials1 comment – viewed 14,117 times – ( -2 )
Once you are completed with the "Creating First Yii Application", the following can be done.

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

Created about a year ago by marcanuyTutorials4 comments – viewed 13,960 times – ( +16 )
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.

Working with radiobutton list

Created 11 months ago by vibhaJadwaniTutorials0 comments – viewed 13,950 times – ( +8 )
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

How to use markItUp! on a text field for full WYSIWYG editing

Created 4 years ago by lucifuriousTutorials2 comments – viewed 13,867 times – ( +3 )
This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

How to extend yiic shell commands

Created 3 years ago by qiangTutorials1 comment – viewed 13,757 times – ( +2 )
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic