0
我使用Drupal 6和管理菜單模塊。我需要隱藏管理面板中的管理菜單。我寫模塊,但它不起作用。請幫助我如何隱藏管理面板中的管理菜單
模塊代碼:
<?php
/**
* Implements hook_init().
*/
function YOURMODULE_init() {
global $theme_key;
if ($theme_key == 'rootcandy') {
module_invoke('admin_menu', 'suppress');
}
}
?>
檢查管理菜單模塊的配置 – Khaleel 2012-07-10 12:37:32