The MU forums have moved to WordPress.org

WYSIWYG for Wordpress WORKS in MU (sort of) (2 posts)

  1. suleiman
    Member
    Posted 17 years ago #

    I found the following WYSIWYG editor for Wordpress that was compatible with WPMU: http://mudbomb.com/archives/2005/02/02/wysiwyg-plugin-for-wordpress/

    The only issue folks, is the image manage dosn't work properly because it can't get write access to the folder where it wants to browse and place uploaded images. The image manager was the only reason I wanted to use a different WYSIWYG editor in the first place!

    It seems to me all this needs is a trick to change the upload path to the blogs.dir equivalent. Any takers? this could mean a big deal to our frustrated artsy fartsy types.

  2. suleiman
    Member
    Posted 17 years ago #

    I found this section in the iimage_manager.php file:

    Creates the directory navigation

    */
    function dir_menu(){
    global $rel_path,$dirs,$blog_id;
    if($dirs != null)
    sort($dirs);
    //------ navigation for Dirs
    $dir_menu = "[root] /";
    $tok = strtok ($rel_path,"/");
    $rel_path_tok = "/$tok/";
    while ($tok) {
    $dir_menu .= "{$tok}/";
    $tok = strtok ("/");
    $rel_path_tok .="{$tok}/";
    }

    $dir_menu .= '>';

    for($i=0;$i<count($dirs);$i++){
    if ($dirs[$i] =="files")
    {$dir_menu .= "";} else{
    $dir_menu .= "".$dirs[$i].' | ';}
    }
    return '<div>'.$dir_menu.'</div>';
    //-------------------
    }

    /**

About this Topic

  • Started 17 years ago by suleiman
  • Latest reply from suleiman