test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • cohibadad Friend
    #181279

    I have a multilingual website setup based on JA Social. And it works great! I just need to be able to change the logo image based on each language. How would I do that?

    Thanks,

    Darin

    HeR0 Friend
    #469522

    Hi Cohibadad
    Pls try to edit condition in file templates/ja_social/blocks/header.php

    Regards,

    cohibadad Friend
    #469571

    <em>@HeR0 341586 wrote:</em><blockquote>Hi Cohibadad
    Pls try to edit condition in file templates/ja_social/blocks/header.php

    Regards,</blockquote>

    I’m sorry. I don’t understand what condition to edit in header.php

    Thanks,

    Darin

    HeR0 Friend
    #469590

    Hi
    Example:
    Youe replace

    <h1 class="logo">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>

    to

    <h1 class="logo" >
    <a href="index.php" title="<?php echo $siteName; ?>" style="background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/logo-<?php echo $this->language ?>.png) no-repeat left center; display: block; height: 80px; width: 220px;"><span><?php echo $siteName; ?></span></a>
    </h1>

    Then change name logo to logo-en-gb.png ( en language ), logo-language-code.png with language-code active.
    Hope this way can help you!

    Regards,

    cohibadad Friend
    #469676

    <em>@HeR0 341679 wrote:</em><blockquote>Hi
    Example:
    Youe replace

    <h1 class="logo">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>

    to

    <h1 class="logo" >
    <a href="index.php" title="<?php echo $siteName; ?>" style="background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/logo-<?php echo $this->language ?>.png) no-repeat left center; display: block; height: 80px; width: 220px;"><span><?php echo $siteName; ?></span></a>
    </h1>

    Then change name logo to logo-en-gb.png ( en language ), logo-language-code.png with language-code active.
    Hope this way can help you!

    Regards,</blockquote>

    That worked perfectly. Thank you so much.

    Darin

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

This topic contains 5 replies, has 2 voices, and was last updated by  cohibadad 12 years, 2 months ago.

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