21308 Posts in 5737 Topics by 2603 members
| Go to End | ||
| Author | Topic: | 1250 Views |
-
Re: Arabic content ? Any experience ?

2 December 2010 at 1:13am Last edited: 2 December 2010 1:28am
Ahhh, thanks.
I dont know, but is it neccessary to set "normal" inputs/textareas ín RTL-Mode, too?
I've created the following file:
cms/css/backend-rtl.css
input, textarea, select {
direction: rtl !important;
}And added to your condition:
// Switch directionality for arabic sites in Backend Editors
if(stristr($_SERVER['REQUEST_URI'], 'ar_SA') !== FALSE || stristr($_SERVER['REQUEST_URI'], 'ar-')){
HtmlEditorConfig::get('cms')->setOption('directionality', 'rtl');
LeftAndMain::require_css('cms/css/backend-rtl.css');
}And now the form fields are in RTL mode, too.
Is this correct for "arabic mode" ?
Rob
| 1250 Views | ||
| Go to Top |

