für die gesamte sitemap wird folgendes in der xmap.php geschrieben:
PHP-Code:
function generateSitemap($type, &$config, &$cache)
{
$menus = $this->sitemap->getMenus();
$extensions = XmapPlugins::loadAvailablePlugins();
$root = array();
$this->startOutput($menus, $config);
foreach ($menus as $menutype => $menu) {
if (($type == 'html' && !$menu->show) || ($type == 'xml' && !$menu->showXML )) {
continue;
}
$node = new stdclass();
$menu->id = 0;
$menu->menutype = $menutype;
$node->uid = $menu->uid = "menu" . $menu->id;
$node->menutype = $menutype;
$node->ordering = $menu->ordering;
$node->priority = $menu->priority;
$node->changefreq = $menu->changefreq;
$node->browserNav = 3;
$node->type = 'separator';
$node->name = $this->getMenuTitle($menutype, @$menu->module); // get the mod_mainmenu title from modules table
$this->startMenu($node);
$this->printMenuTree($menu, $cache, $extensions);
$this->endMenu($node);
}
$this->endOutput($menus);
return true;
}
was müsste ich ändern oder ergänzen, damit es auch mit dem superfishmenutitel funktioniert?
Lesezeichen