Menu Token module in action

Menu Token module provides tokens, that could be used in title or in path of menu items (links). For example, if you create menu item with path: "user/[current-user:uid]", the url will be changed "on fly" to: "user/1" (assuming you are user 1).

Tokens are provided by Token module. Menu Token allows to use both global tokens and entity one: node, user, term. Entity tokens have several methods of substitution: from context, random and user defined.

Menu Token module implements Ctools plugin system and allows to plug in new token handlers.

Note: the most awesome features, like entity tokens support and plugin system, are implemented in 7.x-1.0-alpha3. Many thanks to fubhy for working on this.

The idea started here.

Known issues

There are modules that use same hook as Menu Token, they need to be executed in proper order. For example: Menu per Role works well with a weight of 5.

Acknowledgments

Development sponsored by Trellon.

Project Information

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-alpha3 tar.gz (13.31 KB) | zip (19.11 KB) 2011-Sep-19 Notes
6.x-1.0-alpha2 tar.gz (8.45 KB) | zip (9.89 KB) 2011-Jun-13 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (6.99 KB) | zip (7.6 KB) 2011-Feb-25 Notes
6.x-1.x-dev tar.gz (8.44 KB) | zip (9.89 KB) 2011-May-16 Notes

Maintainers for Menu token

  • dealancer - 16 commits
    last: 4 weeks ago, first: 1 year ago
  • fubhy - 15 commits
    last: 25 weeks ago, first: 25 weeks ago
  • develCuy - 9 commits
    last: 48 weeks ago, first: 3 years ago
  • ygerasimov - 5 commits
    last: 50 weeks ago, first: 1 year ago

Issues for Menu token

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 16 Nov 10
nobody click here