1
I have already managed to add some submenu items in my custom module, using
$sql = $xoopsDB->query("SELECT groepid, naam FROM ".$xoopsDB->prefix("sgminhoud_groep")." WHERE inmainmenu = 1");
$subcount = 1 ;
while ( list( $groepid, $naam ) = $xoopsDB->fetchRow( $sql ) )
{
$modversion['sub'][$subcount]['name'] = $naam;
$modversion['sub'][$subcount]['url'] = "groep.php?groep=".$groepid."";
$subcount++ ;
}
in xoops_version.php
It generates submenus like a charm. But I dont want those items to be a subitem. I need them to be added to the mainmenu as 'main'-items (if you understand me...

)
Could someone push me in the right direction? Or isn't this possible? In other words: can a module have more then one mainmenu entries?