Relative links in menu

GoofyX - September 27, 2007 - 08:06

Hi,

I'm using both primary and secondary links in a 5.2 site I've been developing.
I also use an extra menu which is displayed on the left sidebar. One of this
menu's options links to the integrated Drupal forum (forum path), which works
fine. I also have the same link in another menu item from the secondary links
(forum path). However, the latter is not rendered correctly. If I am at the
admin pages, the menu item at the secondary links is rendered based on the
current url and not on the site's root, so it could be rendered as
admin/forum or node/add/forum, etc. The menu item in the left sidebar is
always rendered without problem.

Why is this happening? Is this a bug or something else I'm missing?

Ideas?

GoofyX - September 27, 2007 - 17:53

Any idea anyone?
--
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...

I'm not sure I understand

amanda - October 29, 2007 - 22:41

Try using the code tag to break out your URLs so people can read the post better, and maybe spell out what you put in the form as well as how the URL resolves.

I think you are saying that the url forum works fine in the primary links and always resolves to http://www.example.com/forum, but in your custom menu it breaks down and always resolves relative to the page you are at, so that on http://www.example.com/node/add the forum link points you to http://www.example.com/node/add/forum

Is that about right?

 
 

Drupal is a registered trademark of Dries Buytaert.