I don't know if there's any other easy and cleaner way to do this, but I could not find a way around this with my multilingual setup..

The conflict is caused by the following jQuery selector (scripts/fancy_login.js line 96), which does not match language prefixes (e.g: "www.site.cat/catala/user/login"):
$("a[href^='" + Drupal.settings.basePath + "user/login']")

since locale prefixes are editable through the settings page (so, pretty random), a solution could be changing the selector to:
$("a[href^='" + Drupal.settings.basePath +"'][href$='" + "user/login']")

the only problem that could cause is with false positives, but...

Hope it helps!

Cute module, btw!

Comments

quimrovira’s picture

Erm..

the "$" modifier for the matching should be "*" instead, otherwise, redirections in login urls break it.

jaypan’s picture

I believe that I have fixed this for the next version of the module, out in the next day or two. Please let me know if there are any problems.

jaypan’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.