Hi,
I try to accomplish this:
A node has an entityreference to a node of another node-type. If I want to include that node in the breadcrumb I need to create a rule for this path.
Rule1: node/%node
I have implemented hook_menu to show some pages based on that node. To include both the referenced node and the node itself I create a rule like this:
Rule 2: node/%node/%first_of_many_arguments
I select the checkbox "Get all arguments etc...", and expect that these paths show a breadcrumb like "Home > Reference > Node"
node/1 shows "Home > Reference" (Rule 1)
node/1/sub shows "Home > Reference > Node" (Rule 2)
But node/1/sub/1 shows "Home > Node" (Not rule 2...).
Is this how it should work?
Thanks!
Erlend