Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 61-70 of 236 result(s).

Creating a database-driven hierarchical Structure combined with CMenu and superfish

Created 4 years ago by thyseusTutorials9 comments – viewed 41,552 times – ( +15 ) – version 1.1
Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!
tags: menu

Use shortcut functions to reduce typing

Created 5 years ago by qiangTutorials8 comments – viewed 41,435 times – ( +56 ) – version 1.1
Because Yii intends to be integrated nicely with third-party libraries, it does not define any global functions. Everything in Yii needs to be addressed with full class name or object scopes. For example, to access the current user, we need to use Yii::app()->user; to access application parameters, we need Yii::app()->params['name']; and so on. While editors like textmate can help alleviate the problem of these lengthy typings, it is worthwhile to define global shortcut functions to some commonly used method calls. They will make the application code look cleaner.

Send mail using YiiMail extension

Created about a year ago by RKATutorials8 comments – viewed 41,309 times – ( +8 ) – version 1.1
Let me show a simpe example to send mail using YiiMail extension in 5 steps. It also includes any template view if required along with the content.
tags: YiiMail

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

Created 5 years ago by Ivo RoperTutorials1 comment – viewed 39,097 times – ( +5 ) – 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.

Introducción al control de acceso basado en roles (RBAC)

Created 4 years ago by Juan CalvoTutorials4 comments – viewed 38,580 times – ( +17 / -1 ) – version 1.1
Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

Yii for beginners 2

Created about a year ago by rackyczTutorials2 comments – viewed 38,190 times – ( +29 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

How to use ldap in UserIdentity for authentication

Created 4 years ago by BeerSercTutorials15 comments – viewed 38,182 times – ( +13 ) – version 1.1
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

config Use MS SQL SERVER 2005 2008.

Created 3 years ago by vcxz_1982Tutorials1 comment – viewed 37,694 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

Create Excel File with PHPExcel Plugin (Insert Image in Excel Sheet ,Use Template to Create Excel File, Create New Sheet)

Created about a year ago by codesutraTutorials5 comments – viewed 36,323 times – ( +7 ) – version 1.1
This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for PHPExcel library.

Working with radiobutton list

Created 2 years ago by vibhaJadwaniTutorials3 comments – viewed 35,934 times – ( +9 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.