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 ¶
- Add to Yii::app()->import 'application.extensions.FriendlyUrl.*'.
- Change Yii::app()->urlManager class to 'CFriendlyUrlManager'.
- Add 'protected/data/pages.php' with your content (example exist as 'CFriendlyUrlPagePhpStorage.dataFile.php.example').
- Change parent of your controllers from CContoller to CFriendlyUrlController.
- Add call widget FriendlyUrlMenu for build menus.
- 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.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.