test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • alssafeer Friend
    #139528

    Hi guys,

    i’m useing JoomFish for MultiLanguage and have tow Language

    Arabic
    English

    Arabic must be R to L.. so how i can make Full R to L in arabic with out Change in English

    also try to login as normal user.. i think have a problem

    Regards,
    Ahmed

    Anonymous Moderator
    #298153

    Hi alssafeer,

    Current this template does not support your idea.
    Alternatively, please take into consideration to post your requirements on Joomlancers.com to find a talent freelancer for your project.
    I am sorry for not being of much help in this case.

    alssafeer Friend
    #298161

    thank you for reply..

    i think a Design have a problem…

    I found this solution in Joomla Forom

    Use this. Copy your CSS style and rename it like this mystylecss_rtl.css and then open your file and change the text align of all your selectors from for example text-align:left to text-align:right.

    Now you have two CSS files: mystylecss.css and mystylecss_rtl.css now put this on your index.php file in the head section.

    Code:
    if ($this->direction == 'rtl'){
    echo'<link rel="stylesheet" href="' . $this->baseurl . '/templates/' . $this->template . '/css/mystylecss_rtl.css" type="text/css" />';
    }else{
    echo'<link rel="stylesheet" href="' . $this->baseurl . '/templates/' . $this->template . '/css/mystylecss.css" type="text/css" />';
    }

    but in your template can’t control direction by template.css…

    Please help me how i can doit… both Languages is important to me

    Ahmed

    Anonymous Moderator
    #298170

    Hi,

    You can change the direction by my code:

    [PHP]
    $conf =& JFactory::getConfig();
    $default_lang = $conf->getValue(‘config.defaultlang’);

    if ($default_lang != ‘en-GB’){
    echo'<link rel=”stylesheet” href=”‘ . $this->baseurl . ‘/templates/’ . $this->template . ‘/css/mystylecss_rtl.css” type=”text/css” />’;
    }else{
    echo'<link rel=”stylesheet” href=”‘ . $this->baseurl . ‘/templates/’ . $this->template . ‘/css/mystylecss.css” type=”text/css” />’;
    }
    [/PHP]

    alssafeer Friend
    #298178

    hi

    just past on index.php or what?

    you have my password can you doit for me please ant test by you

    Thank You

    Anonymous Moderator
    #298179

    Hi alssafeer,

    You must change in index.php file.

    Please find following code:

    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />

    and change to:

    <?php

    $conf =& JFactory::getConfig();
    $default_lang = $conf->getValue('config.defaultlang');

    if ($default_lang != 'en-GB'){
    echo '<link rel="stylesheet" href="' . $tmpTools->templateurl() . '/css/template_rtl.css" type="text/css" />';
    }else{
    echo '<link rel="stylesheet" href="' . $tmpTools->templateurl() . '/css/template.css" type="text/css" />';
    }

    ?>

    alssafeer Friend
    #298182

    you mean /templates/ja_zeolite/index.php

    alssafeer Friend
    #298183

    i doit…

    but i think arabic and english use template_rtl.css now!

    when i remove or rename template.css no thing change
    but whne i remove or rename template_rtl.css style not work for all lang

    Anonymous Moderator
    #298377

    Hi alssafeer,

    I think you did not change correct. If possible, please send me your ftp account via PM, i will help you to fix this issue.

    alssafeer Friend
    #298491

    PM sent!

    thanks

    alssafeer Friend
    #298830

    hello..

    I think u r forget me 🙂

    Anonymous Moderator
    #299202

    Hi alssafeer,

    I have fixed this issue.

    Please check again.

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

This topic contains 12 replies, has 2 voices, and was last updated by Anonymous 15 years, 9 months ago.

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