Author
|
Message
|
Softriva .com
|
Sunday 14 February 2010 8:59:10 am
Hello, How can I configure ezoe in 4.2 to write right-to-left (RTL). I have done it in ezdhtm but I guess it won't work since 4.2 is using tinyMCE. Thank you OOzy
|
Robin Muilwijk
|
Sunday 14 February 2010 12:30:15 pm
Hi, TinyMCE is capable of dealing with RTL as well, see http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/directionality You find the TinyMCE scripts in \extension\ezoe\design\standard\javascript Regards Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
André R.
|
Monday 15 February 2010 2:04:41 am
Robin: Have you used the setting? Did you needed to change some other parts as well?
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|
Robin Muilwijk
|
Monday 15 February 2010 3:12:19 am
Hi Andre, I have not applied/used this setting yet, I'm hoping to give this a try today or tomorrow and document it. In principle it should work though, seen it switch directions on other cms's as well. -- Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
Robin Muilwijk
|
Monday 15 February 2010 11:28:50 am
Ok, I found one way of getting RTL/LTR support in the ezoe editor. Edit the file \extension\ezoe\settings\ezoe.ini and add the following code to the ini file:
[EditorSettings]
Plugins[]=directionality and
[EditorLayout]
Buttons[]=ltr,rtl This enables the directionality plugin in TinyMCE and adds two extra buttons to the editor toolbar to switch the language direction in the editor text areas. I tried it myself and it works. There might be other ways, for example detecting the current language and switch the direction through conditinal overrides. Depends on how you want this to function. Besides the editor, you will also have to present your content in the correct direction on your site, to accomplish this see http://share.ez.no/forums/setup-design/text-direction Hope this helps, regards, Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
Softriva .com
|
Thursday 18 February 2010 1:00:31 am
Sweeeeeet! One more thing :) How can I align the toolbar to right. I found this in tinyMCE docs tinyMCE.init({ theme_advanced_toolbar_align : "right" }); but could not know how add to the .ini file. Can you help? Thank you OOzy
|
Robin Muilwijk
|
Friday 19 February 2010 1:56:11 pm
Hi, I had a quick look at the alignment but could not get it to work yet, I'll need some more time to figure this out and will get back to you if I get this working or not. Regards Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
Softriva .com
|
Sunday 18 April 2010 8:39:46 am
Hello Robin, Were able to figure out the alignment issue? Thx
|
Robin Muilwijk
|
Sunday 18 April 2010 11:33:56 am
Hi, I tried digging some things up but had no luck. I know it is possible but one person replied to an e-mail from me saying they did just that, change alignment and also made the entrie back end RTL orientated but thats all. I'd check on the TinyMCE site on how to get this done, I've seen it done in other CMS's as well. -- Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
Nicolas Pastorino
|
Monday 19 April 2010 12:46:10 am
"
Were able to figure out the alignment issue?
"
Hi, We could maybe track this RTL issue into a report there : http://issues.ez.no/ezpublish . Would you guys mind describing the ins and outs there ? Cheers !
--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board
eZ Publish Community on twitter: http://twitter.com/ezcommunity
t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye
|
Robin Muilwijk
|
Tuesday 18 May 2010 11:43:26 am
Added to the tracker: http://issues.ez.no/IssueView.php?Id=16827&activeItem=1
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
Lo' F.
|
Thursday 09 December 2010 9:50:29 am
First of all thank you, Robin, for the useful hint on how to enable paragraph direction in the online editor! I just have a little problem: it seems to work while editing but when I publish the page the given direction is not applied. Any idea why?
loredanaebook.it
|
Robin Muilwijk
|
Thursday 09 December 2010 10:55:26 am
Hi, Your design also needs to support the language direction, see http://share.ez.no/forums/setup-design/rtl-direction-support. I only did a quick search, not found an out of the box answer for what to change/implement in your design to actually support this. There is more info on this subject, for example Drupal and Joomla support this language direction switch in their templates. Would make a nice article e.g. how to. To code a RTL/LTR design for eZ. Regards Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
Lo' F.
|
Thursday 09 December 2010 11:35:33 am
Thank you Robin for your quick reply! The Arabic siteaccess has already been styled through css - direction:rtl;unicode-bidi:embed; - to display its templates' content right-to-left. So this doesn't have to be handled through admin. The thing is that my client needs to have this facility also while editing the content from the online editor. But the direction is not kept after saving: the preview tab doesn't show it with the set direction and when entering the edit mode again direction appears as no action was taken at all. Another thing I noticed is that when I style a paragraph giving it a color (done with the enabled _soextra extension), if I disable the editor I can see that the paragraph is wrapped with a tag like this <paragraph custom:forecolor="#993300"> while the direction doesn't put anything around the text. Is this normal?
loredanaebook.it
|
Robin Muilwijk
|
Sunday 12 December 2010 12:33:40 am
Hi, We need someone with Language direction experience here. I know a bit about the subject, but not enough in relation to eZ. I'll try to ping some people, see if they can help. -- Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.
LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
|
Lo' F.
|
Sunday 12 December 2010 8:42:42 am
"
Hi, We need someone with Language direction experience here. I know a bit about the subject, but not enough in relation to eZ. I'll try to ping some people, see if they can help. -- Robin
"
So nice of you, Robin. Thank you so much!
loredanaebook.it
|