<!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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;a 
href="index.php?id=24&amp;task=showItem&amp;showID=234"&gt;Menuitem1&lt;/a&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>&lt;a 
href="index.php?id=24&amp;task=showItem&amp;showID=663"&gt;Menuitem2&lt;/a&gt;</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>&lt;a 
href="index.php?id=24&amp;task=showItem&amp;showID=562"&gt;Menuitem3&lt;/a&gt;</FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>function user_itemProcFunc($menu,$conf) {</DIV>
<DIV>&nbsp;//&nbsp;Fethc variable $THEID from database somewhere.<BR>&nbsp; 
$menu["linkHREF"]["HREF"].= "&amp;task=showItem&amp;itemID=$THEID";<BR>&nbsp; 
debug($menu["linkHREF"]);<BR>&nbsp; $count = 0;<BR>&nbsp; 
//while(list($key,$value) = each($menu)) { <BR>&nbsp;&nbsp;&nbsp; 
//&nbsp;&nbsp;&nbsp; print "Test: ".$value[linkHREF]."&lt;br&gt;";<BR>&nbsp; 
return $menu;<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any help would be appricated.</DIV>
<DIV>&nbsp;</DIV>
<DIV>/Jan-Erik</DIV></DIV></FONT></DIV></BODY></HTML>