Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
As mentioned in the header, the available tokens table presented to the admin cannot expand.
image attached shows the table on help>Token.
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
Comment | File | Size | Author |
---|---|---|---|
#6 | token_rtl_support-1333334-5.patch | 896 bytes | mohamadaliakbari |
#4 | token-rtlsupport-1.patch | 22.05 KB | navid.kashani |
#3 | Capture.JPG | 165.18 KB | the_pony |
#3 | token_tree_RTL_fix.zip | 3.37 KB | the_pony |
token-tree-table.png | 24.64 KB | royep |
Comments
Comment #1
royep CreditAttribution: royep commentedUpdate,
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.
Comment #2
ntigh52 CreditAttribution: ntigh52 commentedThe same problem...
thanks a lot, I solve that with your solution.
hope that this bug will fixed the next ver of token!
Thanks.
Comment #3
the_pony CreditAttribution: the_pony commentedI think I've manage to RTL this token_tree.
The result (for me) is as in this screen capture:
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.
Comment #4
navid.kashani CreditAttribution: navid.kashani commentedThe 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
Comment #4.0
navid.kashani CreditAttribution: navid.kashani commentedadded image
Comment #5
mohamadaliakbari CreditAttribution: mohamadaliakbari commentedYou should not change JavaScript library while we can fix the issue only with CSS.
Comment #6
mohamadaliakbari CreditAttribution: mohamadaliakbari commentedComment #8
mohamadaliakbari CreditAttribution: mohamadaliakbari commented6: token_rtl_support-1333334-5.patch queued for re-testing.
Comment #10
Ka1 Bashiri CreditAttribution: Ka1 Bashiri commentedHi
easy way to fix this problem:
https://drupal.org/node/2067771