Hi,<br><br>I have created a new node from the Create "content page" (say node/20)... and then i need to affect my node to the sub menu item below.<br>How i can do please ?<br><br>Because the subitem link I need is to access my node like this :<br>
<a href="http://127.0.0.1/mysite/?q=node/20">http://127.0.0.1/mysite/?q=node/20</a><br><br>but not as described by my menu :<br> <a href="http://127.0.0.1/mysite/?q=menu1/subitem1">http://127.0.0.1/mysite/?q=menu1/subitem1</a><br>
<br>I think i could call the "test" callback, loading and theming my node... but maybe is there a simpler way ? (override path or link...)<br><br>------------<br>function list_projects_menu() {<br><br> $items['menu1'] = array(<br>
'title' => t('my infos'),<br> 'page callback' => 'show_page',<br> 'access callback' => TRUE,<br> 'type' => MENU_NORMAL_ITEM,<br> );<br><br> $items['menu1/subitem1'] = array(<br>
'title' => t('my infos'),<br>
'page callback' => 'test', // node/20 ?<br> 'access callback' => TRUE,<br> );<br>}<br><br>Cédric<br>