Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • rlandrade Friend
    #858215

    Please, Help me!

    I use a Ja directory and I need change the logo image when the change de language. Can someone help me?
    There is 3 language pt-br ; es-es and de default en-en.

    Pankaj Sharma Moderator
    #861275

    Hello @rlandrade
    Logo can be controlled by the template options > Theme > Logo > http://prntscr.com/9sd8bh
    You can change it from the template options , Apply different logo on your different template styles .

    rlandrade Friend
    #864269

    Hello Pankaj

    I did not understand , I will try to clarify my problem.
    I have only one template using the multilanguage and accurate module that Logo is written in the language chosen by the user. If user Brazilian put ( Portuguese-br language) , If user Spanish put (Spanish -es ) elseif the default language of the site that is the English language .

    This site has 3 languages ​​and each language need to have just the congress with their respective language .Case I´d like to keep the same template with different logo using LanguageSwitcher.

    So If "site" use pt-br (portuguese language)–> The logo will be in portuguese Language
    if site" use es-es ( Spanish language)–> The logo will be in spanish Language
    elseif use default language –> The logo will be in English Language.

    I read in the forum that you must change the header.php ( including "IF" in the parameter is the logoimage along with the parameter of languageswitcher , but as I am not a developer in php , I would like someone to help me change the code without creating problems with the site . Because its on and very visited.


    Rafa

    Pankaj Sharma Moderator
    #864572

    Hi rafa ,
    In the template logo is handled by Template style options . The simple and easy method is used different template style for different languages and then apply the logo via template style .
    For logo change from header.php .
    You can find the logo code is defined in the /tpls/blocks/header.php file .
    I found a link on Joomla forum here that may help you to do this custom work via php statements
    https://www.joomlart.com/forums/topic/logo-image-change-in-different-language/
    This method used in older framework because that does not have options like in Latest T3 .
    I suggest you to use options to use logo from template options .

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum