Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2010 at 10:48 UTC
Updated:
3 Mar 2011 at 17:11 UTC
We've had need to redirect certain paths under certain conditions, such as:
We've made a simple page manager task handler that allows you to do this.
Should we start this as a separate project, or should this get included in the page_manager project in ctools?
| Comment | File | Size | Author |
|---|---|---|---|
| page-manager-redirect.patch | 20.18 KB | steven jones |
Comments
Comment #1
steven jones commentedGoing to create a contrib project for this as we've had no response.
Comment #2
merlinofchaos commentedSorry about the no response, it's been a busy month.
I am actually interested in considering this directly in CTools, I just haven't gotten to it in the mountain of things to do. Sorry for the slowness on my part.
(Setting 'needs review' since there is a patch attached)
Comment #3
steven jones commentedComment #4
steven jones commentedComitted.
Comment #5
steven jones commented@merlinofchaos - Didn't read your comment in time :( whoops.
We'll see how it fares in contrib on its own, but feel free to pull it back into ctools at some point. We're finding lots of uses for the module, and basically got fed up of it not being easy to add to a project!
Comment #7
james.williamsThe Page Manager Redirect project has been completed and been stable for a little while now as a standalone module (dependent on Page Manager). As merlinofchaos suggested above (http://drupal.org/node/820374#comment-3155188), we would like to propose that it could be included directly in ctools.
Page Manager Redirect is a nice and simple implementation of a task handler for Page Manager, with plenty of documentation, so it would serve as a good example of such a plugin (as opposed to Panels) should anyone want to write their own. It can serve as an easy start point for understanding Page Manager's power with selection rules and contexts without having to also understand the Panels concepts too.
Plus, it's also really useful! :-)
Comment #8
james.williams... of course, since this was written before D7, I imagine we might need to make a few changes to make it work for D7 & any ctools API changes. Assuming this happens (I'm working on that today), can we get a consensus on whether Page Manager Redirect should be included in ctools?
Comment #9
steven jones commentedComment #10
james.williamsBy the way, page_manager_redirect is working fine in Drupal 7. Any thoughts on inclusion in ctools yet...?
Comment #11
merlinofchaos commentedSomething like this has been committed for quite some itme, it's the HTTP Response Code handler. I had totally lost track of this issue when I did that or I would've just used this code.