Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Elxis 2008 developers guide
»
Set XML parameters text direction to RTL or LTR
« previous
next »
Print
Pages: [
1
]
Author
Topic: Set XML parameters text direction to RTL or LTR (Read 25008 times)
datahell
Elxis Team
Hero Member
Posts: 10356
Set XML parameters text direction to RTL or LTR
«
on:
October 04, 2007, 22:48:05 »
In Elxis 2008.x you can set the
text direction
for text and textarea fields to
RTL
for RTL languages for any XML element you wish. Elxis by default applies LTR direction (for compatibility) to all text/textarea fields. Notice that LTR languages are not affected (they are being displayed LTR always).
More info here:
https://forum.elxis.org/index.php?topic=717.msg7929#msg7929
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Set XML parameters text direction to RTL or LTR
«
Reply #1 on:
October 05, 2007, 19:55:43 »
very thanx john , it will be useful for right to left languages ... thanx again
Logged
DediData Web Hosting Services
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Set XML parameters text direction to RTL or LTR
«
Reply #2 on:
October 05, 2007, 20:35:21 »
Attached a screenshot from live example. Also notice the new
CX_
language constants (
C
ustom
X
ML language).
Farhad I have a task for you: Can you search all standard/core XML files (mambots, modules, components, menus) and tell me where you want the text direction to be RTL for Persian language? Notice that by default (compatibility) everything is being displayed LTR if no
dir
node is set.
[old attachment deleted by admin]
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Set XML parameters text direction to RTL or LTR
«
Reply #3 on:
October 05, 2007, 20:46:13 »
ok , i will search and tell you soon ...
if you don't set any dir value , in a RTL page , all textboxes and textareas and select boxes have default direction to RTL !!!
john wait for me to tell you a full statistic
Logged
DediData Web Hosting Services
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Set XML parameters text direction to RTL or LTR
«
Reply #4 on:
October 05, 2007, 21:25:50 »
this is an approximately statistic about components :
Syndicate :
Number of RTL fields : 7
Number of LTR fields : 3
----------------------------
Banner :
Number of RTL fields : 5
Number of LTR fields : 3
----------------------------
Massmail :
Number of RTL fields : 2
Number of LTR fields : 1
----------------------------
Contact :
Number of RTL fields : 14
Number of LTR fields : 10
----------------------------
Newsfeed :
Number of RTL fields : 4
Number of LTR fields : 1
----------------------------
Polls :
Number of RTL fields : 15
Number of LTR fields : 1
----------------------------
Weblink :
Number of RTL fields : 4
Number of LTR fields : 2
----------------------------
i think , it is better to leave dir properties with no value ...
because the number of RTL fields are more than LTRs ...
so the fields will be LTR in a LTR page and will be RTL in a RTL page ...
Logged
DediData Web Hosting Services
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Elxis 2008 developers guide
»
Set XML parameters text direction to RTL or LTR