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

CommentFileSizeAuthor
#2 taxonomy_context.patch2.98 KBJoshua Brunner

Comments

Joshua Brunner’s picture

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

Joshua Brunner’s picture

Category: support » feature
Status: Closed (fixed) » Needs review
StatusFileSize
new2.98 KB

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

Fayna’s picture

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
summit’s picture

Subscribing, anyone working with this patch?

thanks in advance for answering!
greetings,
Martijn

nancydru’s picture

Status: Needs review » Postponed (maintainer needs more info)

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