? multiblock_menu.patch Index: README =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/multiblock/README,v retrieving revision 1.1 diff -u -r1.1 README --- README 29 Feb 2008 20:26:31 -0000 1.1 +++ README 29 May 2008 05:52:29 -0000 @@ -9,7 +9,7 @@ multiblock module will keep track of multiple instances of blocks and dispatch to their appropriate block hooks. Using this stratgey, you would not enable any blocks that are implemented by other -modules. Instead, you will go to admin/build/multiblock and create +modules. Instead, you will go to admin/build/block/instances and create an "instance" of a block. Multiblock module will then implement this block in its own block hook which will forward any hook_block calls to the original module's hook. Using this method we can maintain @@ -22,7 +22,7 @@ region, etc.) for one set of data. HOW TO USE IT: -1. Go to admin/build/multiblock +1. Go to admin/build/block/instances 2. Select the type of block you want to create an instance of and type a unique title for that instance 3. Click "Add Instance" Index: multiblock.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/multiblock/multiblock.module,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 multiblock.module --- multiblock.module 29 May 2008 05:02:25 -0000 1.1.2.2 +++ multiblock.module 29 May 2008 05:52:29 -0000 @@ -8,12 +8,13 @@ $items = array(); if ($may_cache) { $items[] = array( - 'path' => 'admin/build/multiblock', - 'title' => t('Block Instances'), + 'path' => 'admin/build/block/instances', + 'title' => t('Instances'), 'description' => t('Create and delete instances of blocks.'), 'callback' => 'multiblock_general', 'access' => user_access('administer blocks'), - 'type' => MENU_NORMAL_ITEM, + 'type' => MENU_LOCAL_TASK, + 'weight' => -1, ); $items[] = array( 'path' => 'admin/build/multiblock/delete', @@ -154,7 +155,7 @@ $form['delta'] = array('#type' => 'value', '#value' => $delta); return confirm_form($form, t('Delete the block instance %title?', array('%title' => $block->title)), - 'admin/build/multiblock', + 'admin/build/block/instances', t('This will delete the instance of the block %title.', array('%title' => $block->title)), t('Delete'), t('Cancel')); } @@ -166,7 +167,7 @@ else { drupal_set_message(t('There was a problem deleting the block')); } - return 'admin/build/multiblock'; + return 'admin/build/block/instances'; } /**