Wiki

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

How to hide index.php on nginx

Created 6 years ago by milesTutorials3 comments – viewed 45,558 times – ( +4 ) – version 1.1
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL

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

Created 5 years ago by thyseusTutorials9 comments – viewed 43,530 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

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 43,484 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.

Use shortcut functions to reduce typing

Created 5 years ago by qiangTutorials8 comments – viewed 43,427 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.

Yii for beginners 2

Created 2 years ago by rackyczTutorials2 comments – viewed 42,311 times – ( +30 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

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

Created 4 years ago by Juan CalvoTutorials4 comments – viewed 41,243 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).

config Use MS SQL SERVER 2005 2008.

Created 3 years ago by vcxz_1982Tutorials2 comments – viewed 41,185 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.

How to use ldap in UserIdentity for authentication

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

Working with radiobutton list

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

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

Created 5 years ago by Ivo RoperTutorials1 comment – viewed 39,719 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.