Forums / Setup & design / Url problem with a dropdown menu.

Url problem with a dropdown menu.

Author Message

laurent le cadet

Monday 20 October 2003 10:48:00 am

Hi,

I'm trying to make a dropdown :

<form action="/index.php/content/view/full/" method="get">
<select name="ville" id="ville">
<option value="Villes" selected="selected">Villes</option>
{section name=top loop=fetch( content, list, hash( parent_node_id, 943 ) )}
<option value="{$:item.contentobject_id}">{$:item.name|wash}</option>
{/section}
</select>
<input name="ok" type="submit" class="button" id="ok" value="ok" />
</form>

And the result is :

http://ot-paysdelandivisiau.msi-sa.net/index.php/content/view/full/?ville=1008&ok=ok

but the object is unvailable.

The path is correct an the object ID too.

What's wrong ?
Should I declare something in an INI file ?

Laurent.