-
AuthorPosts
-
October 19, 2017 at 11:17 am #1068828
Hello
I would like to ask you how can i change the logo image in two different language. Please give me the solution.in template manager you have one choice to change logo type image to text or vice versa for other language but i want to use 2 different logo image for 2 language
thanks in advancedPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 20, 2017 at 3:18 am #1068979Hi
In T3 you can duplicate the template style from template Manager http://prntscr.com/gzmm68
Assign different style to the different language and you can select the different logo from these template styles.Regards
October 20, 2017 at 7:42 am #1069049Hello again
Because i’m using falang in order to manage the multiligual part of the site and in falang you can’t choose different syte in translation is any other way??
I saw the solution for Joomla 2.5 and the older T3 is this also working for this??
Thank you
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 20, 2017 at 8:04 am #1069055Hi
In this case, you need to do customisation in header.php where the logo code is defined.
Because in T3 we have provided logo option that you can use for different language items.Regards
October 20, 2017 at 8:10 am #1069057Okk the older solution with some modifiacations will work?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 20, 2017 at 8:15 am #1069058Hi
Which solution? can u share the link pleaseOctober 20, 2017 at 8:50 am #1069074Hi
This one
https://www.joomlart.com/forums/topic/logo-image-change-in-different-language/
with code in header
<?php if (JFactory::getLanguage()->getTag()=="en-GB"):?> <img src="<?php echo ‘templates/’.T3_ACTIVE_TEMPLATE.’/images/logo-trans_en.png’ ?>" alt="<?php echo $siteName; ?>" /> <?php else: ?> <img src="<?php echo ‘templates/’.T3_ACTIVE_TEMPLATE.’/images/logo-trans_another.png’ ?>" alt="<?php echo $siteName; ?>" /> <? endif; ?>
And in out exmpale something like this??
<div class="logo-<?php echo $logotype, ($logoimgsm ? ‘ logo-control’ : ”) ?>"> <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"> <?php if($logotype == ‘image’): ?> <?php if (JFactory::getLanguage()->getTag()=="en-GB"):?> <img src="<?php echo ‘Logo path en’ ?>" alt="<?php echo strip_tags($sitename) ?>" /> <?php else: ?> <img class="logo-img" src="<?php echo JURI::base(true) . ‘/’ . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" /> <?php endif ?> <?php endif ?>
- This reply was modified 7 years, 2 months ago by inviribus.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 20, 2017 at 9:02 am #1069081Hi
This is for older JAT3 v2 framework and also work for Joomla multilanguage
In Latest T3 we provide template styles logo options to use the different logo for different menu items.Regards
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum