test melih
 melih
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • jamtavasoli Friend
    #165258

    Hello,

    Using Teline IV 1.2.4
    Joomfish 2.1.7

    When I switch language(en/fa) using joomfish, template mode dose not change and stays LTR.

    Please Advise.

    Thanks.

    kshama_k Friend
    #396704

    hi

    i have checked your site ,when i change the laguage (fa) then it show RTL, your site works fine.
    please see i have attached a screen shot of your site.


    1. Screenshot-1
    2. Screenshot-2
    jamtavasoli Friend
    #397413

    Good morning,

    You are looking at the wrong site, here is the correct http address:

    http://www.immigrace.com/dev4/
    Using Teline IV 1.2.4
    Joomfish 2.1.7

    Click on the flag, it does not switch.

    Please advise.
    Thanks.

    chavan Friend
    #397569

    Hi jamtavasoli

    I tried to check the site but don’t see the issue, it works fine. Check my attachment please!

    jamtavasoli Friend
    #397689

    <em>@dohq 248572 wrote:</em><blockquote>Hi jamtavasoli

    I tried to check the site but don’t see the issue, it works fine. Check my attachment please!</blockquote>

    Hello,

    The above attachment image is not right. please try switching to RTL mode using “CPANEL” and you will see the difference.

    Attached please find two attachments for comparison:
    – RTL mode using manual selection of RTL in CPANEL (cpanel.jpg) which is perfect
    – RTL mode when switching to RTL by joomfish (joomfish.jpg) which is not good

    For some reason when I switch to RTL using joomfish it dose not switch the template to RTL mode completely.

    Please advice.

    Thanks


    1. joomfish
    2. cpanel
    chavan Friend
    #397737

    Hi jamtavasoli

    Could you give me ftp account of your site via JXA-212-52767 ?

    jamtavasoli Friend
    #397892

    <em>@dohq 248782 wrote:</em><blockquote>Hi jamtavasoli

    Could you give me ftp account of your site via JXA-212-52767 ?</blockquote>

    Done.

    Thanks.

    chavan Friend
    #397973

    Hi jamtavasoli

    The “RTL” when you change language is a direction but the “RTL” in cpanel is a T3 profile.

    Therefore when you change language, direction will be changed but not profile.

    There isn’t a feature in T3 associate language with profile. We will consider this feature in next version of T3.

    jamtavasoli Friend
    #398123

    <em>@dohq 249071 wrote:</em><blockquote>Hi jamtavasoli

    The “RTL” when you change language is a direction but the “RTL” in cpanel is a T3 profile.

    Therefore when you change language, direction will be changed but not profile.

    There isn’t a feature in T3 associate language with profile. We will consider this feature in next version of T3.</blockquote>

    I do not believe you can categorize this as a feature, in my opinion this is a bug. A functional RTL template should work when users switches the language, no buts or ifs or partial switch!

    Dont you agree?

    Please keep in mind that this is working fine with other JA templates that offer RTL.

    Please advise.
    Thanks.

    chavan Friend
    #398176

    <em>@jamtavasoli 249263 wrote:</em><blockquote>I do not believe you can categorize this as a feature, in my opinion this is a bug. A functional RTL template should work when users switches the language, no buts or ifs or partial switch!

    Dont you agree?

    Please keep in mind that this is working fine with other JA templates that offer RTL.

    Please advise.
    Thanks.</blockquote>

    I don’t think so. I give you an example:

    When you access your website via http://www.yourwebsite.com?direction=rtl, result is similar when you change language.
    And if it is http://www.yourwebsite.com?profile=rtl, result is similar when you change in cpanel.

    jamtavasoli Friend
    #399980

    Hello,

    In that case, can you help me figure out how to get joomfish to switch profiles, when switching language? Is there a hack available to link T3 profile to the language, until you guys implement this feature in the next version?

    As you have concluded yourself, at the movement switching to any language with RTL requierments (Hebrew, Persian, Arabic,…) using Joomfish will not work in this template.

    Thanks in advance.

    BigHug Friend
    #400028

    Hi jamtavasoli

    When you update T3, all customizations may be lost.

    You can do as following step:
    1. Open file plugins/system/jat3.php
    2. Find function onAfterRoute()
    3. Add this code


    $lang = JRequest::getVar('lang');
    if (!empty($lang)) {
    $lang =& JFactory::getLanguage();
    if ($lang->isRTL()) {
    JRequest::setVar('profile', 'rtl');
    } else {
    JRequest::setVar('profile', 'default');
    }
    }

    above


    //load core library
    T3Framework::t3_init ( $this->plgParams );

    Note: if you delete rtl profile, it’ll not work.

    jamtavasoli Friend
    #400121

    Thanks a million dohq.

    It worked like a charm.

    Best.

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

This topic contains 13 replies, has 4 voices, and was last updated by  jamtavasoli 13 years, 7 months ago.

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