2.0.2releasedURL Router

Regex and Simplified Parameter based URL re-routing

Clone URLgit://github.com/symphonists/url_router.git

Add as a submodulegit submodule add git://github.com/symphonists/url_router.git extensions/url_router --recursive

Compatibility

2.0.02.0.32.0.42.0.52.0.62.0.72.1.02.1.12.1.22.2.02.2.12.2.22.2.32.2.42.2.52.3.02.3.12.3.2
NoNoNoNoNo0.4NoNoNo1.31.31.31.31.31.32.0.22.0.22.0.2

Readme

URL Router

Version: 2.0.2

Author: [Symphony Team]

Build Date: 2012-08-22

Requirements: Symphony >= 2.3

Installation

  1. Upload the files into a folder named "url_router" in your Symphony 'extensions' folder.

  2. Enable it by selecting "URL Router" on the "System -> Extensions" page, choosing "Enable" from the with-selected menu, and clicking "Apply".

  3. Once installed, under the preferences page, you can choose between adding a Redirect or a Route in the URL Router section.

Version history

Symphony 2.3 only

  • Bug fix for localized backends not showing navigation menu item

Symphony 2.3 only

  • Bug fix for Symphony hosted in a subfolder. Thanks Nils Hoerrmann.

Requires Symphony 2.3

  • Major release includes updates for 2.3
  • Moved Routes onto separate page under Blueprints (Nils Werner, John Porter)
  • Removed the update functionality as is a breaking release

Requires Symphony 2.2

  • Rails-like routing. You may now use a syntax similar to page-name/:user/projects/:project for matching and reference each parameter by its name: /new-page-name/:user/:project

Requires Symphony 2.2

  • Updates to add inline help to the Routes/Redirects in the preferences page.
  • Core code change to wrap the routes and redirects in checks for stability, and to allow more control.
  • Incorporate Root Page Params methods. Allows all 'index' page type parameters to be accessible from the root, as they should be.
  • Add forcing of routing if page to route from exists.

Requires Symphony 2.2

Requires Symphony 2.2

  • Removed the global option to redirect routes.
  • Changed the duplicator templates to allow either Routes or Redirects, instead of the global choice.
  • Added updating logic.
  • Added prevention of routing if the code is updated, but the extension reference in Symphony isn't. This is due to the functionality changing, and will prevent errors.

Requires Symphony 2.2

Requires Symphony 2.2

  • Bug fix to remove rogue query I forgot to remove, thanks Vlad Ghita for spotting that one

Requires Symphony 2.2

  • Update as Symphony Team takes ownership.
  • Renamed extension class and folder to url_router.
  • Manually merged @nickdunn's changes.

Requires Symphony 2.2

  • Symphony 2.2 compatiability update

Requires Symphony 2.0.7

  • Applied patches from pull requests to fix various issues including save failure when no redirects entered and pass-by-reference warning

Requires Symphony 2.0.7

  • Remove router.js as it's no longer needed
  • Fix error in save logic, no longer tries to write to config.php

Requires Symphony 2.0.7

  • Only add router.js to the /system/preferences/ page (was breaking other JS)
  • Updated README with correct installation details

Requires Symphony 2.0.7

  • Initial release, brief documentation forthcoming.