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.

WYSIWYG Progress Light

August 05, 2007 8:08am

Subscribe [14]
  • #16 / Nov 15, 2007 9:28am

    JohnD

    114 posts

    I cannot help you because I do not use asozzi’s modifications. Perhaps if you private message asozzi you could get help there.

  • #17 / Nov 15, 2007 9:46am

    Sanity11

    314 posts

    Hello John.

    Thanks anyway.
    Although i don’t care about asozzi’s modifications, i just want the button so my customers can easily upload their files… do you know where I can find a description for that?

  • #18 / Nov 15, 2007 10:02am

    Sanity11

    314 posts

    Ok!
    I am getting there now.

    Still need to puzzle a little.
    Now i get the upload screen… but no stylesheet and the select button is not working.

  • #19 / Nov 15, 2007 10:48am

    Sanity11

    314 posts

    Working on this whole day now… can anybody tel me why it has no stylesheet and the select button is not working?
    I have used the files JohnD provided. changed the paths.
    I cannot find a path that has anything to do with the stylesheets and the select button is a compleet mystery to me since I am no programmer.

    This is becoming so frustrating now.

  • #20 / Nov 15, 2007 11:13am

    Sanity11

    314 posts

    When i click select i get this message:

    selectFile is not defined
    onclick(click clientX=0, clientY=0)

    Here are two images that show what it looks like.
    The second image is when i have selected a file, the red thing keeps turning but nothing happends.


    Image1
    Image2

  • #21 / Nov 15, 2007 12:26pm

    Sanity11

    314 posts

    Wel, no i did everything again and now it works a lot better… exept for one thing.
    after uploading a image i cannot get them into tinymce because the selectfile button is not there.

    Or is that not an option?
    Upload a file and insert the url directly to tinymce?

    Maybe someone knows about that??

  • #22 / Nov 15, 2007 2:19pm

    asozzi

    262 posts

    Hi there,

    so let me get this straight. The EE_TinyMCE plugin works obviously, since tinMCE doesn’t seem to be the problem. And you used my slightly modified version otherwise you would not be able to insert the needed javascript.

    1) The ext.tiny_mce.php was updated since I last posted my solution. I re-applied my (even tinier;-) change and the file no looks like this (see attachment at end of post):

    2) My description was geared towards Ajax Filemanager V0.6, the current version is at V0.8.25 download from http://www.phpletter.com/DOWNLOAD and the config file has changed considerably. In fact if you just copy pasted my solution, that would be the reason WHY your installation is out of whack. Please try to use the config.base.php file provided with the new version of Ajax FileManager.

    To do so, please download the new version. Lucky for you the pre-packaged tinyMCE version was updated to include all the latest versions. So you just need to unpack and upload to your server.

    Now you only need to change one single setting. Find this snippet and adjust the number of “../” in the define statements.

    //FILESYSTEM CONFIG
            /*
            * CONFIG_SYS_DEFAULT_PATH is the default folder where the files would be uploaded to
                and it must be a folder under the CONFIG_SYS_ROOT_PATH or the same folder
                these two paths accept relative path only, don't use absolute path
            */
            
        define('CONFIG_SYS_DEFAULT_PATH', '../../../uploaded/'); //accept relative path only
        define('CONFIG_SYS_ROOT_PATH', '../../../uploaded/');    //accept relative path only

    Hopefully this will take care of things, if not, make sure that you did the following (adjust for you path settings of course):

    1) chmod 777 /www/htdocs/tiny_mce/plugins/ajaxfilmanager/session
    2) chmod 666 /www/htdocs/tiny_mce/plugins/ajaxfilmanager/session/gc_counter.ajax.php and gc_log.ajax.php
    3) edit /swww/htdocs/tiny_mce/plugins/ajaxfilmanager/inc/config.base.php :(see above)


    I hope this helps, from the sounds of things there seems to be some problem with either not correctly configured path settings or not enough access rights granted.


    ———————Newer version of the TinyMCE plugin——————————

  • #23 / Nov 15, 2007 3:11pm

    asozzi

    262 posts

    OK, looking through my own update notes I stumbled upon a setting that causes exactly what you are experiencing.

    Check in base.config.php for the following lines:

    define('CONFIG_EDITOR_NAME', (CONFIG_QUERY_STRING_ENABLE && !empty($_GET['editor'])?secureFileName($_GET['editor']):'tinymce'));

    and make sure editor is set to “tinymce” and NOT “stand_alone”. That would result in the mentioned loss of the “SELECT” button…

  • #24 / Nov 16, 2007 3:29am

    Sanity11

    314 posts

    THANK YOU!
    That line dit it. now its working the way it should!
    This plug in is a real enhancement! Thanks again!

  • #25 / Jul 02, 2008 10:23am

    Ryan Blaind

    168 posts

    Hey all,

    I am using TinyMCE + Ajaxfilemanager with ExpressionEngine as a custom field. I was wondering if there was a way in config.base.php to make ajaxfilemanager output a full ABSOLUTE site url path to the image that I am placing? Right now it just outputs the relative path to the image, however when I publish content via RSS I would like the entries to have the full server path to the images.

    I have tried putting full paths in the:

    define('CONFIG_SYS_DEFAULT_PATH', '../../../../images/uploads/'); //accept relative path only
    define('CONFIG_SYS_ROOT_PATH', '../../../../images/uploads/');    //accept relative path only

    part, however that does not work. Any help would be greatly appreciated, thanks!

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

ExpressionEngine News!

#eecms, #events, #releases