Closed (outdated)
Project:
Menu Token
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2012 at 21:32 UTC
Updated:
2 Dec 2021 at 04:48 UTC
Jump to comment: Most recent
Comments
Comment #1
sozkara commentedsubscribing.
Comment #2
sozkara commentedOk i've figured that out. term id token ONLY works for taxonomy pages which gets taxonomy term id from url. Which gets it by /taxonomy/term/id and assigning them to arg0 arg1 and arg2 respectively and ONLY if url has "taxonomy" on arg0. So if your url has another thing this doesnt work. I'Ve built a workaround by adding line:
elseif (arg(0) == 'project' && is_numeric(arg(2))) {
return taxonomy_term_load(arg(2));
}
to menu_token_term_context.inc file on module's plugins folder. /project/X/% being my view page url. Hope this helps
Comment #3
develcuy commented