Download & Extend

taxonomy_context and taxonomy_redirect

Project:Taxonomy context
Version:5.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

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

Comments

#1

Status:active» closed (fixed)

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

Category:support request» feature request
Status:closed (fixed)» needs review

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

AttachmentSize
taxonomy_context.patch 2.98 KB

#3

I tried applying your patch but it seems to have failed:

patching file taxonomy_context.module
Hunk #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

Status:needs review» postponed (maintainer needs more info)

Please try Version 2; this looks like it should do what you want.