Node reference token with multiple paths/titles
qbnflaco - May 9, 2009 - 15:25
| Project: | Custom Breadcrumbs |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Here's a simple example of what I want to do:
I have stories that have a node reference to a page.
I set up pathauto with
[field_referenced_page-path]/[title-raw]
so there are some example urls for stories...
page-level-1/story-1
page-level-1/page-level-2/story-2
I would like to have the breadcrumb mimic this structure, however if I try using the custom breadcrumbs all I can get is:
Home > Page Level 2 > Story 2
is there a way to bring in the referenced nodes breadcrumbs?

#1
What tokens have you used to get this breadcrumb trail?
Is the breadcrumb that you are trying to get Home> Page Level 1 > Page Level 2 > Story 2 ?
Have you tried [path] and [url] ?
Another possibility would be to try the argX tokens, available (via patch) in the tokenStarter kit. See http://drupal.org/node/273893#comment-1546376 for a patch in need of review.
you would construct your breadcrumb trail as
[arg0-alias]
[arg1-alias]
[arg2-alias]
...
[title]
#2
Closing this given the long time without a response. Reopen if its still an issue.