ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MoxieCode FileManager install

May 13, 2008 3:27am

Subscribe [4]
  • #1 / May 13, 2008 3:27am

    lance72

    110 posts

    Hi,

    I am feeling particularly helpless today but I am sure it is not my fault!!!

    I have just purchased MoxieCode FileManager to run it with LGTinyMCE’s plugin for client WYSIWYG;

    but….

    What to do now… there are no EE install instructions over at http://wiki.moxiecode.com/index.php/MCFileManager:Installation

    The install app looks like attached.

    I have downloaded the LGFileManager (and activated) which apparently connects to MCFileManager. LGTinyMCE is working fine too.

    For those who have done this any ideas?
    thanks Lance

  • #2 / May 13, 2008 10:08pm

    Versa Studio

    572 posts

    Email me at .(JavaScript must be enabled to view this email address) and I’ll send you my settings.

  • #3 / May 14, 2008 4:02pm

    Ryan M.

    1511 posts

    Email me at .(JavaScript must be enabled to view this email address) and I’ll send you my settings.

    Any way to post generic settings so the rest of the EE community can benefit?

    I just ran into a brick wall on easily trying to allow a client to upload/edit images. Arrgh.

  • #4 / May 15, 2008 1:22am

    Versa Studio

    572 posts

    Here’s what I use:

    - Move the whole folder filemanager in to /tiny_mce/j_scripts/tiny_mce/plugins/
    - Edit config.php, changing these lines around line 33 to reflect customized settings.  Note: I am using the same value for filesystem.path and filesystem.rootpath.  The setting I chose points all the way back to the root, and then to ee-assets/my-uploads.  You’ll need to change this to be whatever main folder you use to store the files you want to manage.

    $mcFileManagerConfig['filesystem.path'] = '../../../../../ee-assets/my-uploads'; 
    // absolute or relative from this script path.
    
    $mcFileManagerConfig['filesystem.rootpath'] = '../../../../../ee-assets/my-uploads'; 
    // absolute or relative from this script path.

    Spellchecker plugin integration

    - Move the whole spellchecker folder to /tiny_mce/j_scripts/tiny_mce/plugins/
    - Change this line in spellchecker/config.php so it will use internal PHP spellchecking

    // General settings
    $spellCheckerConfig['enabled'] = true;

    LG TinyMCE config settings

    button_tile_map : 'true',
    mode:'textareas',
    editor_selector : 'lg_mceEditor',
    content_css : '/path-to-your-css-file-from-root/tinymce-base-styles.css',
    mode: "textareas",
    theme: "advanced",
    theme_advanced_toolbar_align : "left",
    plugins : "advlink,spellerpages,paste,filemanager,spellchecker",
    theme_advanced_buttons1:  "formatselect, removeformat,cleanup, spellerpages,pastetext, separator, bold, italic, bullist, numlist, outdent, indent, separator, cut, copy, paste, separator, link, unlink, image, separator, undo, redo, separator, charmap, code, spellchecker",
    theme_advanced_buttons2: "",
    theme_advanced_buttons3: "",
    theme_advanced_blockformats: "p,h2,h3,h4,pre",
    relative_urls: "false", document_base_url: "/",
    remove_script_host: "true",
    convert_newlines_to_brs: "false",
    force_p_newlines: "true",
    paste_create_paragraphs : "true",
    paste_use_dialog : "true",
    cleanup_on_startup: "false",
    theme_advanced_toolbar_location : "top",
    custom_undo_redo_levels : 10, 
    cleanup_on_startup: "false",
    extended_valid_elements : "a[name|href|target|title|onclick|class|style],img[src|class|style|width|height|border],td[nowrap]",
    paste_use_dialog : "false",
    width: "500"

    Hopefully this will help people get started.  Keep in mind: these settings do not address any sort of authentication that TinyMCE may offer.  They just get the LG TinyMCE plugin, TinyMCE itself, and the FileManager plugin working.

  • #5 / May 15, 2008 1:42am

    Ryan M.

    1511 posts

    Thanks for taking the time to post your information!

  • #6 / May 15, 2008 2:27am

    Versa Studio

    572 posts

    No problem.  Let me know how it works.  You might want to read this:
    http://expdesign.net/home/articles/expression-engine-install-best-practices/
    I do this every time I make a new EE site.

    The proper config for FileManager and other stuff took for-evah, but now that I’ve got it, it works every time.

  • #7 / May 15, 2008 12:35pm

    lance72

    110 posts

    thanks…. that almost worked…

    I created the same the directory at the root level/ee-assets/my-uploads and I am able to upload and files which are placed to the folder on the server not problem but when I try to Insert them seems to time out with an error…

    obviously there is some pathing issue… any thoughts?

  • #8 / May 15, 2008 12:44pm

    lance72

    110 posts

    I have set the folder permissions to 777…

  • #9 / May 15, 2008 1:09pm

    lance72

    110 posts

    seems to be adding ‘text’ into my URL

    my expected root is:

    http://www.g1productions.com.au/G1/

    but it seems to be looking for:

    http://www.g1productions.com.auocs/G1/

    so where does the ‘ocs’ come from?

  • #10 / May 15, 2008 3:09pm

    Versa Studio

    572 posts

    Weird.

    There are a lot of config settings that could mess this up.

    First thing I would do is a search for the string “auocs” in TinyMCE’s config.php.

    Also, if you used similar settings, the file URL it inserts should be

    /ee-assets/my-uploads/somefile.xxx
  • #11 / May 20, 2008 11:20am

    lance72

    110 posts

    searching for ‘ocs’ is not the solution. Apparently the issue is in line 22 of the config finding the site correctly.

    // Preview options
      $mcFileManagerConfig[‘preview.wwwroot’] = ’‘; // absolute or relative from this script path (c:/Inetpub/wwwroot).
      $mcFileManagerConfig[‘preview.urlprefix’] = “{proto}://{host}/”; // domain name

    what are your settings in the bold area?

  • #12 / May 20, 2008 12:55pm

    Versa Studio

    572 posts

    Lance,

    I haven’t changed those settings from the default; in fact, I’m not sure what they do. The FileManager documentation should say something though.

    Are you using the same LG TinyMCE config settings as I posted above? (the part within EE).

  • #13 / May 20, 2008 1:13pm

    lance72

    110 posts

    yeh I did try all you settings…. :(

    in desperation I have posted to the developer… and he said;

    —-

    Sometimes it has problems resolving the preview.wwwroot setting. So you might need to configure this your self set it to your sites root directory. Like c:/inetpub/wwwroot or /var/www.
    Best regards,
    Spocke - Main developer of TinyMCE

    —-

    I have tried placing the /var/www in the right location mentioned and other combinations but nothing has worked. ooooohhh this is making me mad.

  • #14 / May 20, 2008 1:27pm

    Versa Studio

    572 posts

    Can you post some screenshots of what happens when you try to insert an image or file?

  • #15 / Jul 27, 2008 12:32pm

    jena

    23 posts

    Help!

    This is really frustrating for those of us who aren’t programmers. I’m trying to use the moxiecode filemanager, which isn’t cheap BTW, with the LG Filemanager Extension and can’t get it working. I entered a username and password in my login_session_auth.php. I changed my file upload paths in the config.php file. I still can’t get my “uploads” directory to show up. I am now also getting an error message when I try to upload. Fatal Error - you do not have permission…blah blah blah. When I change them back to the defaults, obviously it doesn’t work.

    When I try to use one of their sample images in my image field I do NOT get an expression engine image tag like I should.

    I get this: /scripts/tinymce/jscripts/tiny_mce/plugins/filemanager/files/teddybear.jpg

    Which is VERY USELESS to me if I can’t see the images anyway.

    Has anybody got a cohesive set of instructions for those of us who don’t write PHP?

    This should be a really easy thing to do. It’s bad enough that EE still doesn’t have anything like the rest of the CMS universe in the WYSIWYG and file upload department!

    I’ve spent hours and hours on this and am ready to throw the whole thing away.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases