friendlyurl Allow to use realy friendly URLs

  1. Documentation
  2. Change Log

Own opinion: It is too good NOT using this extension. :)

Resources
  • Development closed

Documentation

Requirements

Yii 1.0.3 or above

Installation

Extract the release file under 'protected/extensions'.

Usage
  1. Add to Yii::app()->import 'application.extensions.FriendlyUrl.*'.
  2. Change Yii::app()->urlManager class to 'CFriendlyUrlManager'.
  3. Add 'protected/data/pages.php' with your content (example exist as 'CFriendlyUrlPagePhpStorage.dataFile.php.example').
  4. Change parent of your controllers from CContoller to CFriendlyUrlController.
  5. Add call widget FriendlyUrlMenu for build menus.
  6. Adapt calls of createUrl.

Change Log

April 13, 2009
  • Changed principle of work from catchAll-controller to adapt CUrlManager.
  • Added PHPDoc comments and build the class manual.
April 3, 2009
  • Fixed syntax errors;
  • Fixed current page detection in FriendlyUrlMenu;
  • Added feature to specify action in cname field;
  • Added magic PHP code execution for fields title and menuTitle.
April 2, 2009
  • Initial release.
0 0
2 followers
1 703 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Tags:
Developed by: Blake-R
Created on: Apr 2, 2009
Last updated: 14 years ago

Downloads

show all