Hi Irina, and thanks for that useful module.

I've been configuring it on a multilingual site that uses language code as first element on the URL after the base domain. The point is that the "X" path got the language element and duplicated it:

I've seen on the template file that you are using "request_path()" to get the path and it's better to change it to "current_path()" which is a Drupal API function and returns de path without the language part:

I thought you should be aware of that question :-)

Comments

JordiTR created an issue. See original summary.

  • swentel committed 75a59f3 on 7.x-1.x
    Issue #2816469: use current_path() instead of request_path()
    
swentel’s picture

Status: Active » Fixed

Fixed in dev

swentel’s picture

Status: Fixed » Closed (fixed)