Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • koylyrasf Friend
    #971406

    Hello, i want to have one logo for each version of my site (greek, english). How can i do this? Please help. Thanks in advance

    Saguaros Moderator
    #971613

    Hi

    This template set the logo via css so you will need to customize the header block a little bit to achieve that. Below is the tweak:

    • Unzip attached file
    • Copy it to this directory: ROOT/templates/ja_zite/blocks/header.php (Remember to backup old file first)

    Here is the code inside this file:

    <?php
    $app = JFactory::getApplication();
    $siteName = $app->getCfg('sitename');
    if (JFactory::getLanguage()->getTag()=="en-GB"):?>
    <img src="<?php echo 'templates/'.T3_ACTIVE_TEMPLATE.'/images/logo.png' ?>" alt="<?php echo $siteName; ?>" />
    <?php else:?>
    <img src="<?php echo 'templates/'.T3_ACTIVE_TEMPLATE.'/images/logo-other.png' ?>" alt="<?php echo $siteName; ?>" />
    <?php endif; ?>

    As you can see that the logo.png is for English and ‘logo-other.png’ is for other language.

    Then clean JAT3 cache.

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

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 8 years, 1 month ago.

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