Needs review
Project:
Menu Trails
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2009 at 19:07 UTC
Updated:
20 Apr 2011 at 11:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
anrikun commentedSubscribing!
Comment #2
N.Simpson commented+1
Comment #3
grendzy commentedPatch attached. This also includes the fix in #547634: Bug in parent assignment via taxonomy term causes parent assignment via node type to fail
Comment #4
Tri commentedPatch doesn't seem to work for deeper hierarchies:
For such a hierarchy
Life
--Animals
----Mammal
------Cat
------Dog
----Fish
------Piranha
------Goldfish
----Bird
------Eagle
------Sparrow
and having set in the Menu Trails configuration>Categories:Life
Parent item for Animals>none
Parent item for Mammal>Animals
Parent item for Cat>none
when I am visiting a node tagged as Cat, only Animals is active and not Mammal also as it should. The breadcrumbs also shows:
Home › Animals ›
Comment #5
grendzy commentedTri: thanks for the review! It sounds like the patch is working as intended; the breadcrumbs represent your menu hierarchy, rather than the taxonomy.
Perhaps the http://drupal.org/project/taxonomy_breadcrumb module will help with your problem.
Comment #6
axeff commentedthis patch didn't work for me as it should because
if (!empty($node->taxonomy))has always been empty, no matter what node I was viewing.
so I added the functionallity to manually get the nodes' taxonomy.
I changed:
to this:
in menutrails.module.
And now it works.