<font face="verdana,sans-serif">Hi All,<br><br>I am developing a site in Drupal 7. I have a node with alias /article/hello<br>I also have a hook_menu with "</font><font face="verdana,sans-serif">/article/hello</font><font face="verdana,sans-serif">" path registered in my module.<br>
When i access the path in browser <a href="http://localhost/article/hello">http://localhost/article/hello</a> it shows the node instead of calling "</font><font face="verdana,sans-serif">my_custom_function</font><font face="verdana,sans-serif">".<br>
<br>$items['</font><font face="verdana,sans-serif">article/hello</font><font face="verdana,sans-serif">'] = array(<br> 'title' => 'Hello World', <br> 'description' => 'Hello world', <br>
'page callback' => 'my_custom_function', <br> 'access arguments' => array('access content'), <br> 'type' => MENU_CALLBACK,<br>);<br><br>I want 'my_custom_function' to get called.</font><br>
<font face="verdana,sans-serif">Appreciate your help.</font><br><br>-- <br>:DJ<br><br><br>