2.0.2releasedFrontend 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.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | No | 1.2.6 | 1.2.6 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 |
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
- Always define the XSLT variable
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