Drupal Splashモジュールの設定画面が出てこない
Splashモジュールをインストールしたのに、どうやってそのページを指定するのかわからない。
するとこんなエントリーを見つけた。
http://drupal.org/node/247892
自分でsplash.moduleに、
$items['admin/settings/splash/what'] = array( 'title' => t('What'), 'description' => t('Set WHAT is displayed as the splash page.'), 'page arguments' => array('splash_admin_what'), 'access arguments' => array('administer site configuration'), 'type' => MENU_LOCAL_TASK, ); $items['admin/settings/splash/how'] = array( 'title' => t('How'), 'description' => t('Set HOW the splash page is displayed.'), 'page arguments' => array('splash_admin_how'), 'access arguments' => array('administer site configuration'), 'type' => MENU_LOCAL_TASK, );
のように、"access arguments"を指定してやらないとならないのだ。
そのとおりにやったらちゃんとタブで"what"とか"when"とかの設定画面が出てくるようになった。