taxonomy_context and taxonomy_redirect
Joshua Brunner - June 4, 2008 - 08:21
| Project: | Taxonomy context |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Description
Hi,
taxonomy_context and taxonomy_redirect are working fine together.
But because Line 124 in taxonomy_context.module is the "Context for XY" Block (taxonomy_redirect) not shown in the Block list :(
if ($vocabulary->module == 'taxonomy' || !module_hook($vocabulary->module, 'term_path')) {
Why is this disabled?
Greetings
Joshua

#1
Ok, i've found the reason. If you have a nested vocabulary, the tree remains closed. Because the context Module cant get infos about the new path format.
Greetings
Joshua
#2
I've added a Hack, that provides a filter option on the admin/settings/taxonomy_context page.
If you have a term path like: my_view/foo/termId/termName
Just add a filter:
my_view/.+/ID/.+
ToDo: Write a better description. My English is very terrible :(
Greetings Joshua
Edit: Deleted two debug lines in Patch file
#3
I tried applying your patch but it seems to have failed:
patching file taxonomy_context.moduleHunk #1 FAILED at 121.
patch: **** malformed patch at line 46: @@ -615,6 +640,14 @@ function taxonomy_context_admin_settings
#4
Subscribing, anyone working with this patch?
thanks in advance for answering!
greetings,
Martijn
#5
Please try Version 2; this looks like it should do what you want.