Closed (duplicate)
Project:
Token
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2008 at 11:02 UTC
Updated:
5 Jun 2010 at 17:57 UTC
I have a problem. When I using modules such as Page Title, that adding global tokens (tokens uses menu items for get page title) and want to get tokens in hook_menu functions, menu building system brokes, because in hook_menu state menu is empty. For good working I need to call only taxonomy tokens (without global tokens) but can't do it with token api.
Maybe useful to add an option for function token_get_values() to disable global tokens call?
Comments
Comment #1
dave reidIf you're having problems using tokens with globals, something else must be going wrong here. Your problem isn't exactly clear. Could you be more specific?
Comment #2
dave reidPatch at #389882: Allow the global tokens to be disabled