I would like to know if it user possible to add variables in menu item links.
for example: blog/%user or gallery/%user/album

If so, how can I do it.

Thanks
jacauc

Comments

esllou’s picture

Did anyone work out how to do this? I would like to add a link for "Edit Profile". I tried www.mysite.com/user/%user/edit and this didn't work.

The only other links like that are 'my blog' and 'my account' and in the admin>menus section, both of those are locked, so I can't see the syntax required.

webdrips’s picture

Anyone?

Looking to Migrate from Drupal 6/7 to Drupal 10/11? Have a look at our Drupal 11 demo site and request access.

esllou’s picture

Look at the "me" module. That's how I ended up doing it. then you can link to things like "user/me", "profile/me/edit", etc

it's basically a combination of PathAuto and Me modules.

cyberbob37’s picture

But what about Drupal 6? Is there any module like 'me' aliases for it? Please help.

---
Blog - antonbabenko.com