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.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
No1.0.1NoNoNoNoNoNoNoNoNoNoNoNoNoNoNoNo. Soon?

Readme

Shrimp

Version: 1.0.1
Author: Max Wheeler
Build Date: 2010-08-24
Requirements: Symphony 2.1

Installation

  1. Upload the 'shrimp' folder in this archive to your Symphony 'extensions' folder.

  2. Enable it by selecting the "Shrimp", choose Enable from the with-selected menu, then click Apply.

  3. Change the URL prefix under "System > Preferences", the default is "s".

  4. 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