我试图添加这样的链接:
$items['channel/%'] = array(
'title' => t('channel'),
'page callback' => 'ptt_get_channel_list',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
但是当我添加这个链接时,我无法访问 adming/config 菜单。
我有几个这样的链接:
$items['ptt/items'] = array(
'title' => t('channel'),
'page callback' => 'ptt_get_items',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['ptt/items/detail'] = array(
'title' => t('channel'),
'page callback' => 'ptt_get_items_details',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
现在,当我再添加一个链接时,我无法访问 adming/config。为什么?