2.0.1releasedFrontend Localisation Redirection

Adds redirection capabilities to Frontend Localisation Extension

Clone URLhttps://github.com/DeuxHuitHuit/flang_redirection.git

Add as a submodulegit submodule add https://github.com/DeuxHuitHuit/flang_redirection.git extensions/flang_redirection --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11
NoNoNo1.2.61.2.62.0.12.0.12.0.12.0.12.0.12.0.12.0.12.0.12.0.12.0.12.0.12.0.12.0.1

Readme

Frontend Localisation Redirection

Version 2.0.x
https://deuxhuithuit.com

Adds redirection capabilities to Frontend Localisation Extension

Requierments

  • Symphony CMS version 2.5 and up (as of the day of the last release of this extension)
  • Frontend localisation extension version 2.7.0
  • FLang detection gtlds extension version 2.0.0

Installation

  • Install frontend_localisation
  • Install flangdetectiongtlds
  • Unzip the flang_redirection.zip file
  • (re)Name the folder flang_redirection
  • Put into the extension directory
  • Enable/install just like any other extension

Voila !

Usage

This extension provides a event that will redirect the user to the localised page. You just have to link the event to all pages you want.

Credits

This extension is a rewrite of an existing extension that worked great in Symphony 2.2.x, language_redirect. Since multilingual support is now offered thought a new extension, I wanted to port the existing features of the language redirect in this new environnement.

I wanted to say thanks to @klaftertief for his nice work and @vlad-ghita for unifying the localisation support.

Version history

Symphony 2.5.0 to 2.x.x

  • Fix problems when installing flang_redirection before frontend_localisation

Symphony 2.5.0 to 2.x.x

  • Added more validation of user input values
  • Fix problems with regions (update to frontend_localisation 2.7.0 required)

Symphony 2.3 to 2.x.x

  • Prevent crash when parsing browser languages

Symphony 2.3 to 2.x.x

  • Updated compatibility info

Symphony 2.3 to 2.5.1

  • Fixed a bug when the event was firing on the 404. The solution is to never fire the event if the page is in an erroneous state.

Symphony 2.3 to 2.4

  • Fixed the event author
  • Early exit when no default language is found
  • Removed two notice warnings

Symphony 2.3 to 2.4

  • Fixed a regression bug (#7): redirect event's about method has been deleted.

Symphony 2.3 to 2.4

  • Fixed bug when no '?' were presented in the reported query string value

Symphony 2.3 to 2.4

  • Fixed issue #6 (thanks @twiro)

Requires Symphony 2.3

  • Update for Symphony 2.3.1 (For un-cdata the querystring)
  • Use REAL cookies (Since the cookie class does not do it)

Requires Symphony 2.3

  • Initial release