Dynamic footer link based on current url I've got a link to the mobile version of my site in the footer, but I need this link to be dynamic based off the page that the user is currently on.

Shown below are the options I have for the link.



Under the path there is this help text

The path for this menu link. This can be an internal Drupal path such as node/add or an external URL such as http://drupal.org. Enter &lt;front&gt; to link to the front page.

What I need is similar to the ability to use &lt;front&gt; to signify the homepage. I'd like to be able to use something like http://m.example.com/&lt;node&gt; so that this link will always go to the mobile version of the page that I'm currently on.

Is this possible? Or is what I want to do more complex than just using a keyword for the path?
The default menu system won't let you do that...but if you install the Menu Token module you should be able to use a path similar to the following to get what you need:

http://m.example.com/[current-page:url]