Active
Project:
Compound token
Version:
7.x-1.0-beta1
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2012 at 13:06 UTC
Updated:
23 Apr 2012 at 13:06 UTC
I have a site contain two content type:
group, which is a group node
discussion, which is a group post.
There is a menu "groups" which list latest groups.
I want to set the breadcrumb of discussion with following format:
Home > Groups > group node title > discussion title.
After enable Custom breadcrumb 7.x-2.x, visit page admin/structure/custom_breadcrumbs/node/add:
for "titles" of breadcrumb we could enter:
Groups
[node:og_group_ref:default:0:target_id|node:title]
For 'paths' of breadcrumb we could enter:
groups
group/[node:og_group_ref:default:0:target_id|node:nid]
Now it works as our requirement. Token module provide a lot tokens, but the tokens could not be used at here.
Compound token make such task more simple.