1.0.1releasedShrimp
Intelligent per-section redirection rules
Clone URLhttps://github.com/symphonists/shrimp.git
Add as a submodulegit submodule add https://github.com/symphonists/shrimp.git extensions/shrimp --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 | 1.0.1 | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Shrimp
Version: 1.0.1
Author: Max Wheeler
Build Date: 2010-08-24
Requirements: Symphony 2.1
Installation
Upload the 'shrimp' folder in this archive to your Symphony 'extensions' folder.
Enable it by selecting the "Shrimp", choose Enable from the with-selected menu, then click Apply.
Change the URL prefix under "System > Preferences", the default is "s".
Add your redirection rules under "System > Shrimp".
Usage
Shrimp works by intercepting any requests, such as http://blah.com/s/123/
to your preferred URL prefix and constructing a new URL based on any rules you've set up. As Shrimp automatically infers the section your entry ID belongs to, rules are limited to one per section.
If a matching rule is found, any attached datasources are passed the entry id as $shrimp-entry-id
allowing you to resolve the new URL using XPATH in your redirect.
Shout Outs
Large sections of this extension has been adapted from Rowan Lewis' Email Template Filter extension. The name "Shrimp" is stolen shamelessly from Dan Benjamin's similarly featured extension for Expression Engine.
Changelog
1.0.1 -- Made compatible with Symphony 2.1, no longer requires changes to class.frontendpage.php
1.0.0 -- Initial commit
Version history
Symphony 2.0.7 to 2.1.x