hamid

RTL editor

Vote 0 Votes

hi
in the main editor of the mt aticles writed from left to right
i want in farsi language articles Writed from right to left
Do you have a solution for this purpose

Reported on Movable Type 5

2 Replies

| Add a Reply
  • Hi.

    There is not any esstinential problem with writing right to left, I just tested with Hebrew.
    (with MT 5.2 RC2, and the new Rich text editor)

    However, you will probably want to rewrite the templates to your language, or at least add to the div html tag that is wrapping the EntryBody tag 'dir="rtl"'.
    (if you plan to have articles some in ltr and some in rtl, you can control it with a tag or with custom field)

    Shmuel.

  • Hi Hamid,

    You may like to consider patching a movable type source file from inside the /tmpl/cms/ folder and add there a conditional tag which for the blog id that is in farsi, to implement the lgoic for right to left writing:

    dir="rtl"

    I did something like this a few years ago for a client from Kuweit.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

code.sixapart.com

141 497

Last Topic: Action Stream for LinkedIn by michael webster on Jan 10, 2013

250 891

Last Topic: From Word to WYSIWYG by ngsk on Mar 4, 2013

1885 6667

Last Topic: Facebook thumbnails: help please! by SteveCBC on Mar 14, 2013

91 316

Last Topic: Seeking explanation of files and folders by CosmicKnight on Feb 23, 2013

1544 5537

Last Topic: Exporting custom fields by clotilde on Apr 2, 2013

758 3174

Last Topic: Installation Problem by Alex L on Apr 2, 2013

90 330

Last Topic: HELP! I need to 301 over 100 urls on my site via htaccess by justin on Feb 22, 2013

194 803

Last Topic: Deleting Revision History by Will Haynes on Mar 16, 2013

219 706

Last Topic: Zemanta Plugin vs. Browser Extension by Chelle on Feb 22, 2013

28 98

Last Topic: Movable Price by joe22 on Jan 10, 2013

50 219

Last Topic: Ability to flag/report comments by Android on Feb 22, 2013

65 249

Last Topic: Expanding new rich text editor and implementing table function by Takeshi Nick Osanai on Jul 30, 2012