Accessing it from block admin

JordiTR - February 5, 2008 - 09:07
Project:Block Assign
Version:5.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi you all.

Thanks for that nice module, it solves part of the block editing on sites with lots of blocks. The only point is that it places its configuration page on a rather extrange place, wouldn't be more logical to have it just with the rest of block admins?. I've added the next menu entry which places it as a new tab right on the block admin page.

<?php
    $items
[] = array(
   
'path' => 'admin/build/block/visibility',
   
'title' => t('Page Visibility'),
   
'callback' => 'block_assign_admin',
   
'access' => user_access('access administration pages'),
   
'type' => MENU_LOCAL_TASK,
   );
?>

I hope you find it useful. Feedback would be great :-)

#1

dllh - February 5, 2008 - 13:01
Status:active» fixed

Great idea! I've incorporated this addition. Thanks!

#2

Anonymous (not verified) - February 19, 2008 - 13:12
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.