0
Welcome Guest! Login
0 items Join Now

Issue with Template Logos & Multilingual Sites

  • Issue with Template Logos & Multilingual Sites

    Posted 11 years 9 months ago
    • I've recently updated a couple of sites to make them multilingual. One problem I've encountered is that the logo in the header always links to the English homepage (English is the source language). If I'm viewing the site in Portuguese (or any other language) and I click on the logo in the header, it takes me to the home page in English. The expected behavior would be to take me to the home page in Portuguese (or whatever language I was viewing when I clicked the logo).

      I thought I might be able to work around this with a template override (just like the multilingual menu issue, thanks for the excellent tutorial on that btw), but it appears there's no way to point the logo link at anything but the site's root. It's easy to use a different logo for every language, but even then, they all link back to the site root (the English home page). If I could add the language code to the link within each template override, this would be an easy fix. I'm running into the same issue with a couple of different templates, and I'm wondering if I'm missing something, or if I'm just going to have to turn off the template logos and use a custom module for each language instead. Any suggestions?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Issue with Template Logos & Multilingual Sites

    Posted 11 years 9 months ago
    • That is the issue and I am afraid that you can't have everything automatically. The way I would go with this is to disable logo in the template config and create custom HTML module for each language and link image in each module to the correct URL

      I am glad that you found my tutorial useful btw :)
    • Check my services at: Mihha-Vision

Time to create page: 0.060 seconds