User: jaza Branch: HEAD Date: Sat, 07 Feb 2009 09:01:16 +0000 Modified files: /modules/category category.admin.inc category.module category.pages.inc /modules/category/category_display category_display.module /modules/category/category_menu category_menu.install category_menu.module category_menu.pages.inc Log message: - Show 'none' in the 'types' column on 'admin/content/category', when a container has no assigned node types defined. - Output the name of each container on 'admin/content/category' as a link. - For the message on 'admin/content/types/_type_' indicating that a node type is a container and cannot be changed, properly use format_plural(). - fix all AJAX forms to use form_set_cache() instead of cache_set(), in conformance with the updates introduced in Drupal 6.4 core. - New feature for category_menu: allow admins to choose the menu in which to populate auto-generated menu links for each container. If admins choose 'default', then the normal book-module-style behaviour still applies, i.e. menu links are put into a 'hidden' menu called 'category-toc-_cnid_'. NOTE: this requires a database update. New update.php function included. - Fixed important bug where category_menu generated menu links were never getting saved properly on insert, only on update. Needed to call category_get_parents() (from _category_menu_map_save_category()) with reset parameter set to TRUE, to clear a static var cache. - category_display TOC listings are now working correctly. Yay! Introduced a new _category_menu_tree_all_data() function to make this possible. TOC depth is now being honoured, and all paths of the tree are being traversed to the specified depth. _category_menu_tree_all_data() is a modification of menu_tree_all_data(), and it maintains its own cache (which is cleared when saving affected categories/containers). Links: http://cvs.drupal.org/diff.php?path=contributions/modules/category/category.... http://cvs.drupal.org/diff.php?path=contributions/modules/category/category.... http://cvs.drupal.org/diff.php?path=contributions/modules/category/category.... http://cvs.drupal.org/diff.php?path=contributions/modules/category/category_... http://cvs.drupal.org/diff.php?path=contributions/modules/category/category_... http://cvs.drupal.org/diff.php?path=contributions/modules/category/category_... http://cvs.drupal.org/diff.php?path=contributions/modules/category/category_...