The Mobile Tools block message is used to manually switch between desktop and mobile sites.
If the user is visiting a page when the click the link, they will be brought to the homepage of the alternate version
The link should be generated dynamically to show the same page the user is already visiting, with the alternate theme.
Comments
Comment #1
tallsimon commentedI agree this is a much needed feature. Perhaps token integration would be the best way to go, so you could choose what to add in the link, whether it be a link to a specific url or a link to [base][alias] (example, not actual tokens!)
Comment #2
guruslot commentedDoes someone could explain how to user a token !desktop_url?
I'm stuck tried different combination and it does not replaced by url. Token module is enabled.
Thanks in advance!
Comment #3
fprevos2 commentedI create myself a block module to make a html link. It pretty much base on the mobile_tools_block hook.
Here the code:
Comment #4
xen commentedI believe this was imlemented in 2.3, and further changed later.