I have a vocabulary with lots of free tags in it. I don't know what those free tags are going to be. What I want to do is use the Taxonomy Term custom breadcrumb setting so that if I select a vocabulary instead of a specific term in that vocabulary, custom breadcrumbs knows that it applies to all the terms in that particular vocabulary.

CommentFileSizeAuthor
#8 772064_customize_tax_titles.diff6.37 KBMGN

Comments

MGN’s picture

Category: feature » support

Yes you can do that with a vocabulary breadcrumb - click on 'vocabulary' at the top of the breadcrumb list page (or go to admin/build/custom_breadcrumbs/taxonomy_vocabulary/add).

lonehorseend’s picture

I tried and it didn't work.

1) If I have the taxonomy_term view enabled and use the vocabulary breadcrumb, the breadcrumb comes up blank for the term and overrides the one I have set for the node.
2) If I have the taxonomy_term view enabled and use a path with a wildcard for the term, it overrides the one I have set for the node. I tried this instead of the vocabulary one when number 1 wasn't working.
3) If I have the taxonomy_term view disabled and I set the vocabulary breadcrumb for one level, the breadcrumb is the one level and overrides the one I have set for the node.
4) If I have the taxonomy_term view disabled and I set the vocabulary breadcrumb for two levels, the breadcrumb uses the second level on the term page when I only want it to use the first level.

I've tried adjust the module weight on the custom bread crumb settings but the checkbox is un-clicked when I return to the custom breadcrumb settings page and it seems to be ignoring whatever weight I set.

I did find that if I created a breadcrumb for the view, it worked as expected, but since the view affects multiple terms as it is the taxonomy_term view, I'm going to create multiple custom breadcrumbs and do some path checking in PHP as suggested on http://drupal.org/node/771516.

MGN’s picture

What options have you enabled at admin/settings/custom-breadcrumbs?

I assume you have indicated the correct node-types to include or exclude?

Is 'Use the taxonomy hierarchy to set the breadcrumb trail for nodes and taxonomy pages' enabled?

If not, please indicate what you are entering for the titles ad paths sections of the custom breadcrumb.

1) If I have the taxonomy_term view enabled and use the vocabulary breadcrumb, the breadcrumb comes up blank for the term and overrides the one I have set for the node.

So is this happening on the taxonomy term page (taxonomy/term/%) or on the node?

I am a little confused because you indicate it is overriding a node-type custom breadcrumb, but if this page is a view, the breadcrumb wouldn't be set by a node-type custom breadcrumb...

If the taxonomy term page, do you have 'Use taxonomy-based breadcrumbs for views' enabled?

For items 3 and 4, can you give an example, showing 1) the taxonomy structure, 2) what you want the breadcrumb to be and 3) what you are getting...

To change the module weight, click the box first, then adjust the order of the modules, then click 'save configuration'.

MGN’s picture

Status: Active » Postponed (maintainer needs more info)
lonehorseend’s picture

Title: Select a vocabulary in Custom Breadcrumbs Term and it applies to all the terms in that vocabulary. » Ability to change vocabulary title in breadcrumb

I have a couple of free tagging vocabularies. I also have vocabulary names that are not the names that I want to use in the breadcrumb for the vocabulary. The reason it is different is that I want the person who is updating the site to see "Public Videos" so they know that it a video meant for public consumption. Public videos happens to be a free-tagging vocabulary because all I want the person to do is enter a word to describe the video or if the word already exists, use it.

If I have "Use the taxonomy hierarchy to set the breadcrumb trail for nodes and taxonomy pages," checked on the settings page. I am not allowed to change the breadcrumb title, I'm only allowed to set the breadcrumb path and visibility. I've changed the title to reflect this because I think people should have the ability to call their vocabulary one thing for the term selection field in node/add yet be able to have the breadcrumb trail say something else. I know you can change it once the box is unchecked, but if they want to use the hierarchy and just change the breadcrumb title instead of having to define the whole hierarchy again just to change the title, it would be convenient.

Excluding nodes helped, so I can now set the vocabulary and node breadcrumbs differently.

I've checked the box adjust module weight, but what happens when I do is that it doesn't stay checked if I go back to "Custom Breadcrumb settings" is that it is no longer checked. Shouldn't it remain checked?

MGN’s picture

Category: support » feature

Ok, this seems like a reasonable feature request and wouldn't be difficult to implement.

When adjusting the module weights, check the box before saving the configuration. If you do this, the weights will be changed. After they have been saved the check box is left unticked so the module weights don't get modified with every configuration change. This is by design, though I admit the UI could be more intuitive.

MGN’s picture

Status: Postponed (maintainer needs more info) » Active
MGN’s picture

Assigned: Unassigned » MGN
Status: Active » Needs review
StatusFileSize
new6.37 KB

This patch allows you to provide an alternative breadcrumb title in place of the vocabulary and/or term names.

MGN’s picture

Status: Needs review » Fixed

I've committed this patch to 6.x-2.x-dev for further testing. Marking this as fixed for now. Please reopen after testing the latest version if it doesn't completely address this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.