Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • tamirzzz Friend
    #149456

    Hi,

    I ma using the template in RTL mode. When I try to add an article, the text is aligned to the left in my editor and it is in LTR.

    I have tired configurating the editor, but not successfully.

    I am attaching a screenshot of the the editor configuration.

    Plz advise.

    Cheers,

    Tamir


    1. ja1
    Saguaros Moderator
    #336187

    Dear Tamir!

    I found the code using for check the RLT Language Mode:
    [PHP]
    $langMode = $this->params->def( ‘lang_mode’, 0 );
    $langPrefix = $this->params->def( ‘lang_code’, ‘en’ );
    if ($langMode) {
    $langPrefix = substr( $language->getTag(), 0, strpos( $language->getTag(), ‘-‘ ) );
    }
    if ($language->isRTL()) {
    $text_direction = ‘rtl’;
    } else {
    $text_direction = ‘ltr’;
    }

    [/PHP]

    To RTL mode works, the default language must to be The RLT language.

    Good luck

    tamirzzz Friend
    #336219

    Hi,

    Thank you for your reply.

    I do not understand what you want me to do and what is RLT mode.

    Plz explain.

    Thank you

    Saguaros Moderator
    #336220

    Dear tamirzzz

    RTL is Short Words of “Right To Left” or LTR is “Left To Right”. my mean is wanted to talk with you that: the PHP Code will check the default language is not or not the RTL Language.

    tamirzzz Friend
    #336225

    Dear tienhc,

    I know what RTL and LTR mean, but I do not know what RLT means (look at what you wrote).

    Could you please explain me what I need to do in order to fix the problem ?

    Thank you,

    tamirzzz

    tamirzzz Friend
    #336452

    Hi,

    I fixed the problem-had nothing to do with the template (I think so;))

    Cheers,

    Tamirzzz

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

This topic contains 6 replies, has 2 voices, and was last updated by  tamirzzz 14 years, 8 months ago.

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