Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • inviribus Friend
    #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 advanced

    Pankaj Sharma Moderator
    #1068979

    Hi
    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

    inviribus Friend
    #1069049

    Hello 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 Moderator
    #1069055

    Hi
    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

    inviribus Friend
    #1069057

    Okk the older solution with some modifiacations will work?

    Pankaj Sharma Moderator
    #1069058

    Hi
    Which solution? can u share the link please

    inviribus Friend
    #1069074

    Hi

    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, 1 month ago by  inviribus.
    Pankaj Sharma Moderator
    #1069081

    Hi
    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

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

This topic contains 7 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 1 month ago.

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