Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • simoslav Friend
    #149751

    hi
    im going to use kayanite 2 with joomfish for arabo-english site , is there a posibility to have two logos ? i mean when switching between languages the logo change too
    many thanks for this great template

    prakash Friend
    #337440

    Though there is no ready made solution for this…I think if you know to code in PHP you can create a condition that if its english show X logo and otherwise show Y logo.

    Joomfish creates a tag ..like EN or FR or the language code..hence u need to simply check which language is being used on the site at present.

    simoslav Friend
    #337447

    i think i got a solution
    1 creating a new module position
    2 place the new position in the template
    3 creating a costum module with the logo in it ( and in joomfish change the path to the other logo)
    now im confused about the second etape . i cant find the php file where i can add the new module code
    any ideas ?

    prakash Friend
    #337501

    Hi

    The logo php can be found in this file

    templatesja_kyanite_iilayoutsblocksheader.php

    simoslav Friend
    #337504

    can the support team please help in this issue please , i tried out but its harder for me to place a module in this position
    many thanks

    Anonymous Moderator
    #337548

    <em>@simoslav 170945 wrote:</em><blockquote>hi
    im going to use kayanite 2 with joomfish for arabo-english site , is there a posibility to have two logos ? i mean when switching between languages the logo change too
    many thanks for this great template</blockquote>

    In template_rtl.css, file, you can add following code to your end:

    h1.logo a {
    background: url(../images/logo-rtl.gif) no-repeat left center;
    }

    you have to upload logo-rtl.gif to templates/ja_kyanite_ii/images folder

    Hope it helps

    simoslav Friend
    #337558

    <em>@JA Developer 171097 wrote:</em><blockquote>In template_rtl.css, file, you can add following code to your end:

    h1.logo a {
    background: url(../images/logo-rtl.gif) no-repeat left center;
    }

    you have to upload logo-rtl.gif to templates/ja_kyanite_ii/images folder

    Hope it helps</blockquote>

    thanks a lot but im going to use 3 languages english french and arabic , i need a logo for every language

    simoslav Friend
    #337598

    how can i place a module-logo in place of the logo please , i think its the solution

    prakash Friend
    #337656

    Hi,

    Like I said earlier conditional statement is best for this.

    You need to first have 3 logos and for the CSS there should be like logo, logo_ar, logo_fr
    Then in the header file create a condition that if the language is say french – logo_fr, if english then logo and if its arabic then logo_ar.

    This would be the best solution for you as say in future you wish to add another language, you can simply add one more condition.

    Anonymous Moderator
    #337768
Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 3 voices, and was last updated by Anonymous 14 years, 8 months ago.

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