Hi,
As mentioned in the header, the available tokens table presented to the admin cannot expand.
image attached shows the table on help>Token.
http://drupal.org/files/token-tree-table.png

I can see the arrow overlaid on some text, but it's not functional.
I'm currently using the default theme Batrik in newly installed 7.9 Drupal on LAMP.
When changing the user interface to English in the language settings, it works fine.

Can someone point me to the correct directive to fix this?
I'm a newbie Drupal user.

Thanks in advance

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

royep’s picture

Update,

Figured out the solution.
Added "direction: ltr;" in the directive .token-tree inside token.css .

before :
.token-tree {
font-size: 0.85em;
margin-left: 19px;
}

after:
.token-tree {
font-size: 0.85em;
margin-left: 19px;
direction: ltr;
}

I'm not sure if this is the best solution, but it works for me.

ntigh52’s picture

The same problem...
thanks a lot, I solve that with your solution.
hope that this bug will fixed the next ver of token!
Thanks.

the_pony’s picture

FileSize
3.37 KB
165.18 KB

I think I've manage to RTL this token_tree.
The result (for me) is as in this screen capture:
token tree RTL'ed

I've needed to change ths css files of token a little bit, and to do a major change at the file named "jquery.treeTable.js".

All of the files I've changed/added are in the zip attached to my comment.
Feel free to use it and I hope it will be benefit to someone.
I also hope that this fix or a similar one will be added to the next version of token.

Keep up the good job!
Tom.

navid.kashani’s picture

Version: 7.x-1.0-beta7 » 7.x-1.x-dev
Priority: Normal » Major
Status: Active » Needs review
Issue tags: +RTL
FileSize
22.05 KB

The problem is the jquery.treeTable

but i made a patch to fix token in RTL Language.

This problem is really big in right to left languages

tnx

navid.kashani’s picture

Issue summary: View changes

added image

mohamadaliakbari’s picture

You should not change JavaScript library while we can fix the issue only with CSS.

mohamadaliakbari’s picture

Issue summary: View changes
FileSize
896 bytes

Status: Needs review » Needs work

The last submitted patch, 6: token_rtl_support-1333334-5.patch, failed testing.

mohamadaliakbari’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: token_rtl_support-1333334-5.patch, failed testing.

Ka1 Bashiri’s picture

Hi
easy way to fix this problem:
https://drupal.org/node/2067771

abn queued 4: token-rtlsupport-1.patch for re-testing.