$Id$ ############### ## ## Navigate 2.0 ## ## NOTICE FOR PLUGIN DEVELOPERS: ## Navigate has undergone a complete overhaul. Several functions have been renamed in the Drupal backend and the JavaScript namespace has been entirely rewritten. ## Only noteworthy changes (such as additions [++], deletions/depreciation [--] and renaming [//] of functions/methods that affect plugin development) will be mentioned below. ## ############### DRUPAL HOOKS -- navigate_add_plugin_link * Removed in favor of using returning an array for settings (See bundled plugin's .module file and _navigate_plugin for usage examples) // _navigate_plugin (previously: navigate_widget_list) * Renamed to follow Drupal coding standards for creating hooks. Also helps differentiate between plugins and widgets. DRUPAL THEMING ++ theme_navigate_settings * Theme settings for a tabbed dialog. // theme_navigate_settings_add_widget (previously: theme_navigate_widget_list_item) * Renamed to help clarify what this actually themes JAVASCRIPT NAMESPACE (See navigate.js for documentation on each method and available parameters) ++ Navigate.ajax(obj) * This method is a wrapper of jQuery's ajax method. It loads default variables unique to Navigate if none are specified. Default values can be viewed in the function. Success and Error callbacks can now be applied directly to this method, no need for additional callback functions. -- Navigate.ajaxUrl * Removed this method in favor of Navigate.ajax which specifies the URL by default and can be overridden. ++ Navigate.attachBehaviors(options) * This method attaches behaviors relevant to Navigate and it's plugins. ++ Navigate.pluginCreate(plugin) * This method creates a plugin in the Navigate namespace. The plugin parameter contains your behaviors, methods and settings. (See navigate_menu.js for usage examples) ++ Navigate.changeTitle(wid) * This method allows plugins the ability to dynamically change the title of any widget. Will return the previous title. ++ Navigate.customizeTitle(wid) * This method will show the input box for customizing a widget's title. -- Navigate.processAjax * Removed this method in favor of Navigate.ajax ++ Navigate.slideWidget * Created this method for managing the sliding of widgets. ++ Navigate.widgetExists * Created this method to determine if a widget exists. Returns true or false. PLUGINS Navigate.plugin.menu.loadMenu (formally: navigate_menu_load_menu) * 2010/07/02 - Uses Navigate.changeTitle to change the widget's title after a menu has been loaded.