從它的安裝檔 administration.install 來看,似乎是把選單的權重(順序)做了調整? 把它倒過來試試看!
function administration_install() {
// Set a high weight so administration is called after all other hook_menus
// which may change the default administration menu
db_query("UPDATE {system} SET weight = 10 WHERE name = 'administration'");
}
My Drupal version is
My Drupal version is drupal-4.7.3
從它的安裝檔
從它的安裝檔 administration.install 來看,似乎是把選單的權重(順序)做了調整? 把它倒過來試試看!
function administration_install() {
// Set a high weight so administration is called after all other hook_menus
// which may change the default administration menu
db_query("UPDATE {system} SET weight = 10 WHERE name = 'administration'");
}
Charlesc, 對不起啊,我
Charlesc,
對不起啊,我不太會CODING知識,妳的意思我執行
db_query("UPDATE {system} SET weight = 10 WHERE name = 'administration'");
就可以暸?