1. Digijoom
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 05 September 2023
  5.  Subscribe via email
Hello,

I'm using the template Juliet for a multilanguage site (Dutch and French).
I made two templates and 2 menu's.. One for each language.
Everything works correctly. But when I'm somewhere in the French website and click on the name/logo (which is the home normally) then I got the Dutch homepage instead of the French homepage.

I don't have this problem in other multilanguage websites.

When I go the the global configuration of Joomla4 and set the SEO URL disabled then it works fine and I do get to the French home page. But I want the SEO url enabled of course.

What is wrong here?

Thanks
Kees
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Kees

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Kees

To amend we have changed the URL in each FR style with some JS by adding the following to the Head Custom Code field of your templates stlyes parameters (Extensions -> Template Manager -> YourTemplate -> Custom Code -> Head Custom Code)...

<script>
document.addEventListener("DOMContentLoaded", function() {
const logoLink = document.querySelector(".logo a");
logoLink.setAttribute('href', "http://whatever.com");;
});
</script>


Replacing http://whatever.com to the new URL.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Ciaran,

Strange that this was necessary and it is not default.

But anyway it is fixed.
Regards
Kees
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.