Hello !

I'm using Drupal 4.7.0.

I have created two pages. They are identified by node/2 and node/3. I have created a block on the right sidebar. I have created two menu items whose parent is this block. Menus item 1 has a node/2 path and menu item 2 has node/3.

In the node/2 page, I entered PHP code which create page content using a
" with a select box having onchange="document.location.href='". $_SERVER['REQUEST_URI']."?id=... property.

When I click onto the menu item 1, the node/2 page is displayed. In the navigator address field I see: "http://mywebsite/node/2". Right. But when I select an element is the select box, the node/3 page is displayed, despite the fact the navigator address field (I'm using FIREFOX 1.5) displays "http://mywebsite/node/2?id=..."
It seems that the difference is the ?id=... after node/2 in the URL.

What happens and how to solve this problem ?

Comments

micheld88’s picture

In fact, after having select an option in the select box, it always goes to the home page of my site (the node/3 in my original topic is promoted to the home page).
So, how can I do to get the right page displayed ?