Closed (outdated)
Project:
Taxonomy Manager
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2009 at 10:25 UTC
Updated:
13 Feb 2020 at 09:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damienmckennaSubscribing. I suggest using Path_Redirect if available.
Comment #2
damienmckennaInitial patch that..
Comment #3
damienmckennaComment #4
dankohn commentedThat patch has an error in it. You need to change module_enabled('path_redirect') to module_exists('path_redirect')
With that change, the patch appears to do the right thing and is a welcome improvement.
Given that I also confirmed the incompatibility with Panels 3, I would suggest removing the existing redirect functionality entirely, and have the module just do a path_redirect by default instead (but still allow the checkbox to be unchecked). That would make path_redirect a prerequisite for this module, which would be fine.
Comment #5
damienmckennaGah. I forgot to update the module with my local test code. Here's a corrected patch.
Comment #6
digi24 commentedThanks for the patch Damien. Maybe it would be useful to add a default option or omit the whole options thing. After all, it is the expected behaviour, when using the redirect module:
Comment #7
dicreat commentedThanks for the patch Damien and digi24.
I just make little fix - now patch works with new Path redirect module version 6.x-1.0-beta6. Please review.
Be careful, new version of Path redirect work only with Pathauto 6.x-1.x-dev.
Comment #8
yan commentedPatch failed against 6.x-2.x-dev:
Comment #9
yan commentedAdapted the patch to latest -dev, works fine for me.
Please review.
Comment #10
yan commentedPatch from #9 works fine for me, just one "whitespace error":
Comment #11
kardave commentedApplied the last patch against the 6.x-2.2 with no errors or warning. Redirection now works fine!
Thank you very much!
Comment #12
yan commentedTried it again against dev and it works just fine. Patch output is this:
Can this be committed?
Comment #13
yan commentedConfirming again that this works. RTBC
Comment #14
ivnish