cancel
Showing results for 
Search instead for 
Did you mean: 

tiny_mce file browsing shareFileBrowser

marco_altieri
Star Contributor
Star Contributor
I'm using (temporary) alfresco 3.4.d (CE) for a WCM project based on Quick Start.

I have found a problem with the tiny_mce editor: the file browser that (I suppose) could be used to select a file stored in share, doesn't work because there is a javascript error.

It seems that tiny_mce is not configured properly and the "file_browser_callback" doesn't specify an existent plugin.

The file awe-config-custom.xml defines for example:

<field id="cm:content">
  <control template="/org/alfresco/components/form/controls/content.ftl">
    <control-param name="forceEditor">true
    </control-param>
    <control-param name="editorHeight">400</control-param>
    <control-param name="editorWidth">600</control-param>
    <control-param name="richMimeTypes">text/html,text/xhtml</control-param>
    <control-param name="editorAppearance">custom</control-param>
    <control-param name="editorParameters">
      plugins: "fullscreen,paste",
      file_browser_callback :
      'shareFileBrowser',
      paste_create_paragraphs : false,
      paste_create_linebreaks : false,
      paste_use_dialog : true,
      paste_auto_cleanup_on_paste : true,
      paste_convert_middot_lists : false,
      paste_unindented_list_class : "unindentedList",
      paste_convert_headers_to_strong : true,
      theme_advanced_buttons1:
      "bold,italic,separator,formatselect,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,link,unlink,separator,image,separator,undo,redo,separator,cut,copy,paste,pastetext,pasteword,image,help,code,fullscreen",
      theme_advanced_buttons2: "",
      theme_advanced_buttons3: "",
      theme_advanced_resizing: true
       </control-param>
  </control>
</field>

Unfortunately, I couldn't find where the shareFileBrowser function is defined.
Does a plugin for browsing share folders exist? Is the file browsing supposed to work in the current version of WQS ?

Thank you,
Marco
2 REPLIES 2

marco_altieri
Star Contributor
Star Contributor
I have found the following post that suggests to use a "manually" written url:

https://forums.alfresco.com/en/viewtopic.php?f=52&t=41719

Does this mean that there is no plugin to browse share folders ?

bremmington
Champ on-the-rise
Champ on-the-rise
Sorry for the delay, Marco. I actually don't know what the shareFileBrowser plugin is that's mentioned in the TinyMCE config, but there is no plugin that I'm currently aware of that would do what you're seeking. Sorry. If anyone happens to write one before us then we'd love to include it…
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.