Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By manishnakar on
Hi All
How can I give an external link in menu of drupal?
I have created a menu and some submenus
In one of my submenu I want to put my blogging sites URL
I am not able to link external link from menu
Can anyone tell me how can I solve this ?
Comments
update to very latest CVS
As of this morning, Drupal now supports external URLs in menu.
--
Read my developer blog on Drupal4hu. | The news is Now Public
--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.
You can't... at least not
You can't... at least not until this morning with the latest CVS/HEAD copy of the code. This change enables it (code).
To use this code you'll need to get the latest version of CVS drupal, either by CVS or waiting until tomorrow and getting the gzip.
Thanks
What a coincedence !
Great timing, Thanks
Manish Nakar
ITVidya : India's First Technology Blogging Network
EbizLive : Business Winning Websites
...gone in 4.6.6
No longer working (for me) after updating 4.6.5 -> 4.6.6
This part of the patch causes the problem:
After undoing it (i.e. adding 'access' => TRUE again), everything was back to normal.
same for me after updating 4.6.5 -> 4.6.6
This holds true for me as well, in all aspects. I had costum menu blocks with external links, which resulted in empty blocks after updating. Adding 'access' => TRUE again fixes this - but I guess resulting in the security flaw againg, which was supposed to be fixed with this patch.
Any possibilities to fix the security bug while providing menu block functionality like before?
Kind regards,
Frisco
Personal Weblog and more: http://bischof.homelinux.net/cms/drupal/
Are you sure?
I just added a menu entry pointing to admin/logs; the menu item appears if I am logged in as admin. When logged out, the menu entry disappears. The same effect for unprivileged users... did I miss something? Can you check that on your installation? My setup: Drupal 4.6.6 with the patch mentioned above undone.
Same problem here
I'm having the same problem, specifically trying to have a menu item link to the front page, the menu item disappears now under 4.6.6, even with the <front> token.
I'm using the front_page module, so I could just point to that, but I'd rather not see the word front_page tacked on to the end of my url.
Patrick
Fix in CVS
Looks like there's a fix in the CVS, at least for the external links, I haven't figured out how to use the <front> token correctly, but that may just be my own issue. I can link to the frontpage via an external link now.
Check out
http://cvs.drupal.org/viewcvs/drupal/drupal/includes/menu.inc?r1=1.79.2....
I had the same problem.
I had the same problem. Adding back in the 'access' => TRUE worked on my sites.
It was happening on my 3 sites with either a link to an external or an internal URL. All were upgraded from 4.6.5 to 4.6.6 then I couldn't add anything to the menu!
All seems well now.