Hi,
I'm wondering if you can help me with 2 cross-categorizing questions for Category module. I've walked through your "Creating a Basic Hybrid Structure" tutorial and have it working. I've added a blog node ("Node One") that is cross-categorized under moods (elated and sad) and topics (confectionary and philosophy). When I click on "Node One", the breadcrumb reads:
Home >> Articles >> Blog
I'd like it to read:
Home >> Articles >> Blog >> Moods >> Elated or
Home >> Articles >> Blog >> Topics >> Philosophy
depending on where I'm coming from.
Is this possible? If so, what settings do I use - distant parents? multiple hierarchies?
Likewise, I need the same structure to be represented in the menus
when viewing cross-categorized nodes. I.e. when viewing "Node One"
from Home >> Articles >> Blog >> Moods >> Elated, the menu structure should be:
Articles - Blog
-- Moods (expanded)
--- Elated
--- Sad
-- Topics (collapsed)
Any help would be much appreciated. I really like the category module, but I'm a bit lost on how to pull this off. (sorry for the long post, I'm kinda desperate...)
Cheers,
twsp
Comments
Comment #1
Jaza commentedIf you want your breadcrumbs to read
Home >> Articles >> Blog >> Moods >> Elated, and you want your menu navigation to look like:when you're viewing a blog page, then you need to set the
Menu items for assigned nodessetting (under 'Category menu items') to 'Enabled' for your 'Moods' container. You then need to set this to 'Disabled' for your 'Topics' and 'Sections (Blog)' containers.This is not possible, as one page in Drupal can only ever have one possible breadcrumb path. Drupal does not support "breadcrumbs that change depending on where you're coming from". Drupal breadcrumbs are based on a page's primary position in the site's menu hierarchy, and a page can only ever have ONE primary position. This is why the basic hybrid tutorial encourages you to make
Home >> Articles >> Blogthe primary location of your blog items: because if you want to categorise your blog entries in multiple ways (e.g. under bothHome >> Articles >> Blog >> MoodsandHome >> Articles >> Blog >> Topics), then you can't have more than one of them as the primary menu location.Hope that helps.
Comment #2
technivant commentedthanks! that really cleared things up!
Comment #3
(not verified) commented