<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have the problem that I need to compile a menu,
where each menu item is compiled by my own script. No problem using the
HMENU.special=userfunction, but what I want to do is to make a list, where each
link has some additional parameter appended to the URL. For instance I would
like my script to create a menu like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><a
href="index.php?id=24&task=showItem&showID=234">Menuitem1</a></FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><a
href="index.php?id=24&task=showItem&showID=663">Menuitem2</a></FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2><a
href="index.php?id=24&task=showItem&showID=562">Menuitem3</a></FONT></DIV>
<DIV> </DIV>
<DIV>Where each link is to the same page, but the parameter showID (there might
be several parameter) is different for each menuitem. </DIV>
<DIV>Does anybody know how to configure suvh a menu? I tried to modify the item
via the IProcFunc, where I used this function code:</DIV>
<DIV> </DIV>
<DIV>function user_itemProcFunc($menu,$conf) {</DIV>
<DIV> // Fethc variable $THEID from database somewhere.<BR>
$menu["linkHREF"]["HREF"].= "&task=showItem&itemID=$THEID";<BR>
debug($menu["linkHREF"]);<BR> $count = 0;<BR>
//while(list($key,$value) = each($menu)) { <BR>
// print "Test: ".$value[linkHREF]."<br>";<BR>
return $menu;<BR>}</DIV>
<DIV> </DIV>
<DIV>Any help would be appricated.</DIV>
<DIV> </DIV>
<DIV>/Jan-Erik</DIV></DIV></FONT></DIV></BODY></HTML>