HomeHomeUsing DotNetNuk...Using DotNetNuk...Language and In...Language and In...Right-To-Left support for Dnn FckEditorRight-To-Left support for Dnn FckEditor
Previous
 
Next
New Post
4/10/2009 11:59 PM
 
 
New Post
4/11/2009 1:30 AM
 

Would you mind to provide an English version of your enhancement as well, please.

Thank you!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
New Post
4/11/2009 3:05 AM
 

 

Steps for extending FckEditor for Right-To-Left support (Short english version):

1. Open file: Providers\HtmlEditorProviders\Fck\FCKeditor\editor\fckeditor.html

   after row    window.document.dir = FCKLang.Dir ;

   add             FCKConfig.ContentLangDirection = window.document.dir;

2. Download from here FCKEditor Flow Direction Plugin
    copy TextFlow folder from downloaded ZIP-archive to FckEditor plugIn derictory: Providers\HtmlEditorProviders\Fck\FCKeditor\editor\plugins\TextFlow

3.  Open file Providers\HtmlEditorProviders\Fck\Custom\fckconfig.js and add FCKConfig.Plugins.Add('TextFlow', 'en'); into plugIns section

    go to FCKConfig.ToolbarSets["DNNDefault"]  section and add two entries: LayoutFlowRTL and LayoutFlowLTR

 

FCKConfig.ToolbarSets["DNNDefault"] = [
  ['Source','Preview','-','Templates'],
  ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
  ['Undo','Redo','-','Find','Replace','-','SelectAll','Removeformat'],
  ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
  ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
  ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
  ['Link','Unlink','Anchor'],
  ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
  ['Style','Fontformat'],['FontName','FontSize'],
  ['TextColor','BGColor'],
  ['FitWindow', 'ShowBlocks', '-', 'SyntaxHighLight2', '-', 'LayoutFlowRTL', '-', 'LayoutFlowLTR','-', 'About']
] ;

This is all

 

 
New Post
4/11/2009 5:16 AM
 

 Thank you!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
New Post
5/18/2009 10:04 PM
 

That was great. Thanks a lot.

 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Language and In...Language and In...Right-To-Left support for Dnn FckEditorRight-To-Left support for Dnn FckEditor


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Exact Target Exec Alert
PowerDNN
r2integrated

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.