-
AuthorPosts
-
tamirzzz Friend
tamirzzz
- Join date:
- May 2008
- Posts:
- 117
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 45
- Thanked:
- 1 times in 1 posts
March 12, 2010 at 2:01 pm #149456Hi,
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
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 15, 2010 at 2:54 am #336187Dear 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
1 user says Thank You to Saguaros for this useful post
tamirzzz Friendtamirzzz
- Join date:
- May 2008
- Posts:
- 117
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 45
- Thanked:
- 1 times in 1 posts
March 15, 2010 at 7:04 am #336219Hi,
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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 15, 2010 at 7:11 am #336220Dear 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 Friendtamirzzz
- Join date:
- May 2008
- Posts:
- 117
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 45
- Thanked:
- 1 times in 1 posts
March 15, 2010 at 7:29 am #336225Dear 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 Friendtamirzzz
- Join date:
- May 2008
- Posts:
- 117
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 45
- Thanked:
- 1 times in 1 posts
March 16, 2010 at 4:20 pm #336452Hi,
I fixed the problem-had nothing to do with the template (I think so;))
Cheers,
Tamirzzz
AuthorPostsViewing 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
TinyMCE aligned to the left
Viewing 6 posts - 1 through 6 (of 6 total)