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

Joshua Brunner - June 4, 2008 - 21:48
Status:active» closed

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

Joshua Brunner - June 5, 2008 - 12:56
Category:support request» feature request
Status:closed» 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

Fayna - June 25, 2008 - 02:42

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

Summit - September 12, 2008 - 16:34

Subscribing, anyone working with this patch?

thanks in advance for answering!
greetings,
Martijn

#5

NancyDru - February 26, 2009 - 17:42
Status:needs review» postponed (maintainer needs more info)

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

 
 

Drupal is a registered trademark of Dries Buytaert.