test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • abtalebi Friend
    #199562

    hello

    i can’t change template color in rtl language ,

    please help me

    fmfame Friend
    #541865

    hi abtalebi,

    do you have installed latest version of template?

    please check..

    and if problems persists please provide us with site details

    TomC Moderator
    #541881

    <em>@abtalebi 435995 wrote:</em><blockquote>hello

    i can’t change template color in rtl language ,

    please help me</blockquote>

    It would be helpful if you could provide the url of the site you’re working on.

    Nazario A Friend
    #541938

    @abtalebi,

    Please open file: /plugins/system/t3/includes/core/template.php then do as following:

    In line 936, add this rule:

    // detect RTL
    $doc = JFactory::getDocument();
    $dir = $doc->direction;
    $is_rtl = ($dir == 'rtl');

    In line 940 and 1000, remove these codes:

    $doc = JFactory::getDocument();

    // detect RTL
    $dir = $doc->direction;
    $is_rtl = ($dir == 'rtl');

    In line 1027, replace this code:

    $uri = T3Path::getUrl ('css/rtl/themes' . $theme . '/' . $fname . '.css');

    With:

    $uri = T3Path::getUrl ('css/rtl/' . $theme . '/' . $fname . '.css');

    Let me know if this helps


    1. Screenshot_39
    2. Screenshot_38
    3. Screenshot_40
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 4 voices, and was last updated by  Nazario A 10 years, 5 months ago.

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