Please tell me if this is possible to have a tokenized links. Say, user/[uid]/edit. If not how do I hack primary links to support wilcards. Thanks.

Comments

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

In what context do you want these links?

http://drupal.org/project/tokenize provides this in some area.

gausarts’s picture

Actually I want "Edit" which is available as a tab in user-profile page placed into primary links, or to behave as a menu item along with "My Account" that has been easily moved from Navigation menu. But drupal menus administration doesn't seem to allow us to make a path such as: user/$uid/edit directly.

And Tokenize isn't ported to drupal 6 yet. I can create a custom block for this, but I hope a better solution through the menu system. That's why I asked if this is possible for token to provide a replacement for $uid or wildcards in menu paths. Any hint? Thanks

greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Providing token support in menu system is pretty far outside the realm of what the token API module should be doing.

Tokenize relies on cck and I think it doesn't make sense to try to upgrade it to 6.x until cck is very stable (which is basically here...).

The other solution to this problem is to use something like the me aliases module: http://drupal.org/project/me

unc0nnected’s picture

For Future googlers, the menu token module does the trick

http://drupal.org/project/menu_token