// First it has this $topnav = ""; $subnav = ""; require($mf_template_absolute_path."/mf_scriptdlmenu.php"); $topnav = $mfmenu->menuObj->main; $subnav = $mfmenu->menuObj->sub; // Then this to load the menu
// The included file at the start is this set( 'template', $mf_template_name ); // Change this value to correct template $mfparams->set( 'absPath', $mosConfig_absolute_path . '/templates/' . $mfparams->get( 'template' ) . '/mf_scriptdlmenu' ); $mfparams->set( 'LSPath', $mosConfig_live_site . '/templates/' . $mfparams->get( 'template' ) . '/mf_scriptdlmenu' ); $mfparams->set( 'menutype', 'mainmenu' ); // Source of menu //Set style for menu $mfparams->set( 'menuclass', 'scriptdlmenu' ); include_once( $mfparams->get( 'absPath' ) .'/mf-menulib.php' ); global $my; $mfmenu= new MFMenu ($database, $mfparams); $mfmenu->genMenu(); ?>