This is where I think I picked it from. http://www.widgetsandburritos.com/drupal-6-menu-relative-paths/ -- Best Regards,* * * Bala Krishnamurthy* For a Greener Planet --- Switch to Linux & Free Open Source sDevNet Protocol: eCubeH XtsE stream _________________________________________________________________ eCubeH Research Labs* *| Appropriate Technologies for Life Essentials* *G2/258, Gulmohar Colony, Bawadian Kala, Shahapura, Bhopal, MP 462039, India Visit us: sDevNet.org > <http://sdevnet.org/> On Thu, Apr 12, 2012 at 9:22 AM, Bala Krishnamurthy <bala@ecubeh.com> wrote:
I have done it in the past but I don't remember the details exactly. This is how I remember it vaguely.
1. includes/menu.inc - comment the code and just return TRUE
function menu_path_is_external($path) { /* Updated by BK 12Sep2011 */ // return TRUE; $colonpos = strpos($path, ':'); return $colonpos !== FALSE && !preg_match('![/?#]!', substr($path, 0, $colonpos)) && filter_xss_bad_protocol($path, FALSE) == check_plain($path); }
2. Add the external menu item / link
3. Change the menu.inc code back to where it was earlier.
Hope it helps, sorry if it does not. If time permits I will take a closer look later.
Best, Bala Krishnamurthy eCubeH Research Labs
On Thu, Apr 12, 2012 at 8:53 AM, Afan Pasalic <afan@afan.net> wrote:
I have navigation Home | News | About Us | Contact | etc. Node menu titles. I need to add a link "Staff" and it should open custom made page http://mysite.com/staff.php
How to do it?
Thanks for any help.
-- [ Drupal support list | http://lists.drupal.org/ ]