Hi,

Thank you for this awesome module.

I have many views and each views contains different nodes with same content type. I want to accomplish the breadcrumb as:
Home > Portal > ViewTitle > NodeTitle
Where ViewTitle and NodeTitle are dynamics. But as node should be 'node/%node' (not Portal/%view/%node), I cannot supply view argument. Is there any way to accomplish this without creating breadcrumb per view?

Thank you in advance.

CommentFileSizeAuthor
#14 2013-06-14_19-25-27.png9.13 KBkalabro
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

supradhan’s picture

Version: 7.x-2.0-beta9 » 7.x-2.0-beta17
Sally Gr’s picture

I am having the same issue. I have over 40 views that are essentially clones of each other but display different content based on a field's content.
I have tried to use string url and regular expressions, but that has not worked. I've tried to figure out how to give each view a common entity type or taxonomy term using the Header option, but if there is a way, I'm not able to do it.
Please can anyone explain how to give a view an identity that the path breadcrumbs module can make use of.
I have been able to use this module successfully on all the other content types I have, just not the Views.
Thanks

Spleshka’s picture

You should enter not aliases, but the real paths when creating new breadcrumb navigation.

chriszazz’s picture

This helped a lot. Appreciated!

supradhan’s picture

#3: Thank you Spleshka.
Could you give an example? Or you want to say I need to create as many breadcrumb entity as views.

Spleshka’s picture

For example, if your page display has url "test" you can create url like that: test/%arg

supradhan’s picture

I tried that also.
But in documentation it says for node it should be like node/%nid.

Spleshka’s picture

Provide please non-aliased url of your node + views page.

supradhan’s picture

Thank you Spleshka,

For example, I have two node with id 1455, 1456 of same content type.
I have node with node id: 1455 and it is in the views 'News'. I have aliased url for that node as http://localhost:8080/NewsPortal/News/Event1 and I have another view containing node id: 1456.
I have aliased url for that node as http://localhost:8080/NewsPortal/Event/Event2, where 'Event' is another view. How can I create non-aliased url of node+view page.

supradhan’s picture

Any suggestions?

sublimina’s picture

I need suggestions for Views paths too. I have some Views pages with just one level in the path (without dynamic element in the path) and would like the breadcrumbs to automatically use the title of these pages in the breadcrumbs.

Spleshka’s picture

PB supports token !page_title that outputs title of current page.

supradhan’s picture

Actually !page_title doesn't retrieve views title. It only works for node.

kalabro’s picture

FileSize
9.13 KB

@sublimina it some cases you can use Views argument settings for it.

2013-06-14_19-25-27.png

tsonye’s picture

I'm experiencing the same issue as you CisSharp. I've build a news page with a sidebar, showing news archive.

The news page is a panel which is properly recognised by PB as it is considered a node. So, I have no problem telling PB what breadcrumbs to put there. Hence, the breadcrumbs appears like so "Home >> News"

However, since the archive (in the sidebar) is a view, PB won't identify it and thus no custom path breadcrumbs appear once you click on any of the links in the news archive (in the sidebar).

E.g. clicking on "April 2013" comes up as Home >> Monthly archive (which is the view's own breadcrumb and not PB's)

I want to make it like so "Home >> News >> Monthly archive >> YYYMM (argument"

Any ideas?

edit: Figured it out using #6 & #12's advice!
For anyone having the same problem, this might be useful. Note the url of the pages you want PB to work on. In my case I used news/archive/%arg as the breadcrumb path. The breadcrumbs themselves were News/news; Archive/<none>; and !page_title/<none> (to get the view's title). This worked for me so I hope it works for someone else as well.

heyehren’s picture

Issue summary: View changes

The approach described in #14 worked for me. I was able to create a breadcrumb from within the contextual filter section of the view (which didn't work when i tried it from within Path Breadcrumb). Thanks for that!

kienan91’s picture

hi ! i created View page , so how to created path breadcrumb for generate View page in module Path Breadcrumbs ?

Thanks