Menus with links are often used inside of panels. But those panels can represent different url structures that make it difficult or impossible to use the same menu between them (EG: node/123 vs group/node/123/admin/people). It would be great if there were an option for the entity source for the link tokens to be the named arguments in panels contexts. Currently if you try to use menu objects in the example above, they can't properly load because they can only target a specific position in the url. This patch would allow for the first mapped item of the designated type to be used, thereby fixing the mentioned example.
Hope this helps!
Comment | File | Size | Author |
---|---|---|---|
menu_token-get_nodes_from_panel_arguments.patch | 4.34 KB | netw3rker | |
|
Comments
Comment #2
mpoloskey CreditAttribution: mpoloskey commentedconfirm working like a charm
Comment #4
DevElCuy CreditAttribution: DevElCuy at Dilygent commentedThanks @netw3rker!