I have a webform that upon submission redirects to a node (path = node/23). This node has translations available. I was hoping multilink would redirect the visitor to the confirmationpage in his chosen language. However for some reason this doesn't seem to work.

Is there a method / trick to get this working?

Comments

Andy Inman’s picture

I would have expected it to work. What happens if you go to node/23 directly? Does redirection work correctly with other pages/nodes? Is the user logged-in or anonymous?

K3vin_nl’s picture

If I am logged in as admin when I go to node/23 directly there is no redirect.

I tried as an anonymous user and then I was redirected to the correct page.

Is the redirect only used for anonymous user? I tested my webform when logged in as an admin.

* edit, I now also tried my webform as anonymous user, and then the redirect also works!

Andy Inman’s picture

Ok, if you're logged in as admin then you will *never* get redirected because you will have the "no redirect" privilege (intended to help with testing) - use any other user (the Masquerade module is very useful if you don't have it.)

K3vin_nl’s picture

Status: Active » Closed (works as designed)

Thanks, that clarifies a lot!

Maybe a drupal_set_message would be usefull? Something like 'Because you are logged in as admin you are not redirected. Otherwise you would have send to *url*.'?

Andy Inman’s picture

That's exactly what it does already - weren't you seeing a message? You should see something like:
MultiLink Redirect: redirect to http://yoursite.com/page (not done due to bypass multilink redirect permission.)
... as "warning" (typically displayed in yellow.) Maybe some problem with your theme? Try a standard one.