Closed (works as designed)
Project:
Menu Token
Version:
6.x-1.0-alpha2
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2012 at 13:45 UTC
Updated:
18 Dec 2012 at 02:43 UTC
Dear all,
I would like to add a
use/login?destination=[current-page-path] menu item, but the item is not generated. The tokens work fine in different user contexts with anyauthenticated user. I don't seem to find any permissions settings that would allow to change that. Should this be a feature request or am I missing something?
Thx
John
Comments
Comment #1
mtcs commentedA simple workaround is to specify the entire URL (https://.../user/login?destination=[current-page-path]).
I guess the bug hides somewhere in function menu_token_translated_menu_link_alter().
Arguments from $item['link_path']) should be stripped before calling menu_get_item().
Comment #2
wickedwookie commentedThanks for answering! I have since used rules for my workaround.
Comment #3
develcuy commented