Home
Help
Sitemap
Login
Register
Elxis.org
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Elxis 4.x documentation
for users and developers
Elxis CMS Forum
>
Support
>
Elxis 2008 developers guide
>
Set XML parameters text direction to RTL or LTR
Pages: [
1
]
« previous
next »
Print
Author
Topic: Set XML parameters text direction to RTL or LTR (Read 7655 times)
datahell
Elxis Team
Hero Member
Offline
Posts: 7601
Set XML parameters text direction to RTL or LTR
«
on:
October 04, 2007, 21: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:
http://forum.elxis.org/index.php?topic=717.msg7929#msg7929
Logged
Elxis Team
|
Is Open Source
|
IOS Reservations | IOS Eshop
Farhad Sakhaei
Elxis Community
Hero Member
Offline
Posts: 1188
I know nothing , Should know more & more
Re: Set XML parameters text direction to RTL or LTR
«
Reply #1 on:
October 05, 2007, 18:55:43 »
very thanx john , it will be useful for right to left languages ... thanx again
Logged
datahell
Elxis Team
Hero Member
Offline
Posts: 7601
Re: Set XML parameters text direction to RTL or LTR
«
Reply #2 on:
October 05, 2007, 19: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 Reservations | IOS Eshop
Farhad Sakhaei
Elxis Community
Hero Member
Offline
Posts: 1188
I know nothing , Should know more & more
Re: Set XML parameters text direction to RTL or LTR
«
Reply #3 on:
October 05, 2007, 19: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
Farhad Sakhaei
Elxis Community
Hero Member
Offline
Posts: 1188
I know nothing , Should know more & more
Re: Set XML parameters text direction to RTL or LTR
«
Reply #4 on:
October 05, 2007, 20: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
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> News and announcements
-----------------------------
Support
-----------------------------
=> FAQs
=> General
=> Installation
=> Security
=> Administration
=> Database
=> Language
=> Elxis 4.x DEV
=> Elxis 2008 developers guide
=> Technical support
=> Public Speaking
-----------------------------
Extensions
-----------------------------
=> Components
=> Modules
=> Bots and plugins
=> Tools
=> Bridges
=> Templates
-----------------------------
Community
-----------------------------
=> Elxis Community
=> Elxis 2008.x Olympus (dev)
=> Build with Elxis...
-----------------------------
Ελληνικό Forum
-----------------------------
=> Γενικά Θέματα για το Elxis CMS
=> Εγκατάσταση
=> Διαχείριση
=> Γλώσσες - Πολυγλωσσία
=> Πρόσθετα
=> Ασφάλεια
=> Βάσεις Δεδομένων
=> Σχετικά με το Forum
=> Δημόσιο Βήμα
-----------------------------
International zone
-----------------------------
=> Dutch
=> Deutsch
=> Français
=> Italiano
=> Indonesian
=> فارسی - Persian
=> Русский
=> Srpski - Српски
=> Türkiye
Loading...