Hi,

I have a view that has a contextual filter based on a node reference field.. The breadcrumb would have to make use of this to get the user back to where they need to be..

I figured since this module used ctools it would work but it doesn't appear to.. The title %node:field-nref-field works but the link path %node:field-nref-field:url or %node:field-nref-childcare-setting:nid doesn't work..

Perhaps I have something wrong and if so please let me know what it is.. Otherwise I think this would be a very useful feature..

Comments

spleshka’s picture

Category: feature » support
Status: Active » Fixed

Enable Entity tokens module (part of Entity) and you will get this tokens work.

spleshka’s picture

Status: Fixed » Closed (fixed)

I close this issue. Please, feel free to reopen it if you have any questions.

wipeout_dude’s picture

Status: Closed (fixed) » Active

Hi,

I had Entity Tokens enabled already..

Is

%node:field-nref-field:url

or

%node:field-nref-childcare-setting:nid

correct or is the correct token something else?

spleshka’s picture

Download latest module version (7.x-3.x) and see correct tokens for node reference field. They will be automatically shown after click on token input field.

spleshka’s picture

Version: 7.x-2.0-beta17 » 7.x-3.x-dev
Status: Active » Closed (fixed)

Close this issue. Please, feel free to reopen it if you have any questions.

d0t15t’s picture

Status: Closed (fixed) » Active

i have the newest version of the module, entity tokens, entity, & entity reference installed, but i still can't get the URL of a referenced node to render correctly in the breadcrumb. %node:field-ref:url renders to a messed version of the node title...

spleshka’s picture

d0t15t’s picture

ah! no i missed that one. will check it out and let you know.

spleshka’s picture

Any updates here? Or I can close this issue?

d0t15t’s picture

the structure of our breadcrumb changed in such a way that the error was no longer. you can close the issue, thanks...

andreav’s picture

I can confirm it still does not work.
I'm using:

  • ctools: 7.x-1.2+44-dev
  • path_breadcrumbs: 7.x-3.x-dev
  • entity: 7.x-1.0+2-dev

I did not apply patch #1727804: Keywords substitution doesn't work as expected because seems already integrated into dev version.

I got those translations:

%node:field-place-dayref ----> Day%25201 (note: title of the referenced entity is "Day 1" without quotes)
%node:field-place-dayref:nid ----> Day%25201%253Anid

Note: I upgraded ctools (from 7.x-1.2) just downloading and copying files over the old verison, hoping this is enought.
Note: Same for entity.

jessehs’s picture

Category: support » bug

Seems like this should be a bug report, rather than a support request.

I also am experiencing this issue.

For a reference to a "product category" term "Foobar", %node:field-product-category:url becomes a link with the address "/Foobar%253Aurl"

spleshka’s picture

Please, make sure that you are using latest Path Breadcrumbs and latest Ctools dev. That bug may persists only on Ctools 7.x-1.2.

kostajh’s picture

I had the same problem; upgrading to Ctools 7.x-1.x-dev fixed the issue.

kalabro’s picture

Status: Active » Closed (works as designed)