View Full Version : Right-to-Left in WYSIWYG editor
boccio
12-14-2006, 09:21 AM
This also came as a frequent request... For all of you who want to write articles in RTL (right-to-left), like Arabic and other languages, here is a short modification to allow this:
1. Open and edit template file: admin/templates/article_add_tiny.tpl
2. Find the following line:
flash_external_list_url : "example_data/example_flash_list.js",
3. Right below it add this line of code:
directionality : "rtl"
That's it. Now you'll be able to write articles in RTL direction.
Trable
01-04-2007, 06:19 PM
Hello,
I have put the code in admin/templ
right ware you say but the text stil on left side on the page.. i can write reght to left no probleem, but the text musty also go to right side of teh page.. and he dont,
external_image_list_url : "example_data/example_image_list.js",
flash_external_list_url : "example_data/example_flash_list.js",
directionality : "rtl"
or doe i do some thing wrong??
2- i want put font tahoma to text pad input news and output news, i look in styl.css but i dont know exact where to change, i need that only for text pad arabic.. and headlines wil stay in left, that should come also to right..
Regards
Trable
01-06-2007, 10:11 AM
:confused: HI,
I see you have no answer for the last question i shal find it this week and i wil share the information with you all..
// Edit:on 7-1-2007
Now i ahve found how to do it:
you just go to style.css and ware you want to chnage the text from left to right just see the example:
.plainTxt {
font-family: Verdana, Unikurd web, Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: normal;
font-variant: normal;
color: #000000;
text-align:right
that is all..
but i have 1 important question:
after installations we shud change the permissions agen .. to have save website..
kan you write down the chmod and permission of all important dir and files that the hackers have no chance to hack your nice script..
thanks
best Regards
That's it. Now you'll be able to write articles in RTL direction.
Hi,
Nice touch and that line really works, I don't know how I didn't read this before :) Would you please write some tips on how to make Vivvo 3.5 works RTL also.
Thanks.
MemoBony
08-02-2007, 02:34 PM
If you would like to set the text (e.g. names..) at the right of the form in Arabic then you need in your templates/css/forms.css to edit few classes:
form_line label (around line 40) change the following properties:
float: left; to float:right;
text-align: right; to text-align: left.
and on this class: formElement input.input_Fields (around line 30) add this property:
float: right;
Please note that this will affect all forms in your site!
This is about the forms.
Actually we need to share manythings couses problems in Arabic sites uses Vivvo. Please if anyone has any idea about anything can helps someona here, then it will be very nice to share it with the rest.
Thanks for all.
try this
http://www.vivvo.net/forums/showpost.php?p=4320&postcount=4
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.