1. hook_menu() is changedWe used to do this in menu:function todo_menu($may_cache) { global $user; $items = array();if ($may_cache) { $items[] = array('path' => 'ajax/todo/item', 'callback' => 'todo_menu_ajax_item', 'access' => user_access('access content'), 'type' => MENU_CALLBACK); $items[] = array('path' => 'ajax/todo.js', 'callback' => 'todo_menu_js', 'access' => user_access('access content'), 'type' => MENU_CALLBACK); } return $items; } // function todo_menuNow we have to do this to do the same thing:/** * implementation of hook_menu */ function todo_menu() { global $user; $items = array();$items["ajax/todo/item"] = array( 'page callback' => 'todo_menu_ajax_item', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK); $items["ajax/todo.js"] = array( 'page callback' => 'todo_menu_js', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK);return $items; } // function todo_menu 2. In hook_nodeapi() is also changed. The op "submit" is canceled. 3. function db_next_id($name) is renamed to db_last_insert_id($table, $field) IMCE1. IMCE API changed and is easier to use.In Drupal 5, we used to do this in javascript to call a browser and get the url:window.open('{$base_url}imce/browse', 'filenodeFileBrowser', 'width=640, height=480');function filenodeFileBrowserImceFinish(path, w, h, s, imceWin) { imceWin.close(); $("#edit-filenode-file").val(path); }Now we only have to do this:window.open('{$base_url}imce&app=FileNode|url@edit-filenode-file', '', 'width=760, height=560');Please reference: http://ufku.com/drupal/imce/api
