-
AuthorPosts
-
January 19, 2016 at 7:53 pm #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 ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 20, 2016 at 3:38 am #861275Hello @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 .January 21, 2016 at 10:44 am #864269Hello 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.
—
RafaPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 21, 2016 at 5:13 pm #864572Hi 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 .1 user says Thank You to Pankaj Sharma for this useful post
-
AuthorPosts
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