1

Topic: Problems when installing filemanager

I have got a problem: I have just tried unsuccessfully to install filemanager as a TinyMCE plugin. I followed the following steps:

1. Unpack the filemanager and copy it to the tinymce plugins directory (tiny_mce/plugins/filemanager).

2. Add the filemanager to the TinyMCE init option called plugins.
------------------------------------------------------------------------------------------------
This is what I wrote:

<script type="text/javascript" src="../jscripts/tiny_mce/jquery.tinymce.js"></script>
<script type="text/javascript">
    $().ready(function() {
        $('textarea.tinymce').tinymce({
            // Location of TinyMCE script
            script_url : '../jscripts/tiny_mce/tiny_mce.js',

            // General options
            theme : "advanced",
            plugins : "autolink,filemanager,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3. Reload the page and verify that the filemanager is working by checking for browse buttons inside the link and image dialogs.

4.Configure the filesystem.rootpath config option by editing the config.php file (tiny_mce/plugins/filemanager/config.php)

--------------------------------------------------------------------------------------------------------------
This is what I wrote:

$mcFileManagerConfig['filesystem.rootpath'] = "/public_html/prophp/jscripts/tiny_mce/plugins/filemanager"; // absolute or relative from this script path.

-------------------------------------------------------------------------------------------------------
And when I press the button to save what I have written or to submit it, the result is the following answer:

Only posts from tinymce.moxiecode.com are accepted.

Please, could anyone help me?

2

Re: Problems when installing filemanager

You also need to change the form of the page to post to something on your local machine not to our servers. We prevent those cross site posts for security reasons.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: Problems when installing filemanager

Thanks a lot, I'll try to do it

4

Re: Problems when installing filemanager

I apologize for bothering you again:

I am currently using your file "full_jquery.html" where I added the filemanager to the TinyMCE init option called plugins.

My web site is http://jlhneira.com

Should I change within "full_jquery.html"

<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">

by

<form method="post" action="http://jlhneira.com/dump.php?example=true">

Thanks in advance

5

Re: Problems when installing filemanager

Sure if you want to dump the HTML for some reason.

Best regards,
Spocke - Main developer of TinyMCE