I was using Custom breadcrumbs module, but I kept getting frustrated by some of my pages just not working.

I'm learning Hansel as I go, but I'm having a big problem getting how to do my different taxonomy pages. I'm using the Panels taxonomy template, and I have things like a main page called Books at /books. Off of that you'll find different taxonomy based pages like /books/fiction or books/genre/mystery. Then there's the pages about the book themselves at /books/published/example-book-title.
I added under 'start' (this isn't all of them):
books
-add link Books
-switch on url argument 1
taxonomy
-Add term path
-goto
but that only gives me Home > Fiction if I go to /books/fiction. What I'd like is
Home > Books (main Books page at /books)
Home > Books > Fiction (one of the taxonomy pages - this one books/fiction)
Home > Books > Example Book Title (at /books/published/example-book-title) or even better:
Home > Books > Fiction > Example Book Title

I'm hoping that I don't have to make a separate rule for each taxonomy term. Sorry to sound so clueless, but I'd really like to make this work.

CommentFileSizeAuthor
#7 hansel1.jpg31.87 KBwxman
#4 hansel-dump.txt2.5 KBwxman

Comments

mauritsl’s picture

Status: Active » Fixed

Note that the book page has the path "taxonomy/term/123". This is the path used for Hansel. You can see this when you check the path on the "test" tab. For that reason, the url argument switch does not match on the role "books". You may - however - switch on URL alias, which uses "books/...". Please let me know if you get it working.

wxman’s picture

Sorry about this - I'm not usually this slow. I'm obviously not setting this up correctly, because I can't get anything to work but the /books page. I tried what you suggested but all I ended up doing was removing the one crumb I did get to work.
Are there more examples anywhere I can look over other than the readme file?

UPDATE:
I added:
books/fiction
add link Fiction
switch on path alias (contains)
and I was able to get Home › Books › Fiction on the fiction page. So to add to my question from above, will I need to make a separate rule for each of my taxonomy terms?

mauritsl’s picture

Status: Fixed » Needs work

Can you provide me with a dump from the Hansel export tab?

wxman’s picture

StatusFileSize
new2.5 KB

This is the one I'm using for testing.

wxman’s picture

Did you need anything else?

Vc Developer’s picture

My "primary links" are panels, so how do I get them to show up? example:

Home | Did You Know | Our Purpose | Blogs

When I select "Did You Know" (this is a ctools panel), I want the bread crumb like this:

Home >> Did You Know

This panel displays all the "story' nodes, and all the story nodes show up perfectly when I select them:

Home >> Did You Know >> some story article

wxman’s picture

StatusFileSize
new31.87 KB

I've finally got the taxonomy to work, at least for one of the taxonomy's. The attached jpg shows the setup for the main book category (fiction,non-fiction,etc.). This gives me:
Home > Books (main Books page at /books)
Home > Books > Fiction (one of the taxonomy pages - this one /books/fiction)
Home > Books > Fiction > Example Book Title (/books/published/example-book-title)

The only ones I'm not getting to work are the views based book pages. These are like one called Current Releases that uses a view to show only the latest titles. All I ever get to show is Home > Books. I really don't want to have a different step in Hansel for each view using path_alias switch.