Viernes, 31 Octubre 2014 20:51
beggarly

XMap, extended_menu, menu titles: solved

Report Xmap bugs on this forum.

XMap, extended_menu, menu titles: solved

Postby FluteTraverse » Fri May 09, 2008 1:29 pm

Hi!

I use the module "extended menu":
http://de.siteof.de/extended-menu.html

You can see this module in this free template "JSN EPIC" three times: top (suckerfish), left (bullettree) and bottom (divbar):
http://demo.joomlashine.com/joomla-templates/jsn_epic/j10/index.php

XMaps gets the menu title from the table "modules", field "module", content "mod_mainmenu" in file:
[list][*]componentscom_xmapxmap.php
[*]respectively componentscom_joomapjoomap.php[/list:u]

These replacements are necessary:

[list][*]for extended menu, Joomla 1.0.x: instead of "mod_mainmenu": "mod_exmenu"
[*]for extended menu, Joomla 1.5: instead of "mod_mainmenu": "mod_exmenu-j15"[/list:u]

Code: Select all
// $query = "SELECT * FROM #__modules WHERE published='1' AND module='mod_mainmenu' AND params LIKE '%menutype=". $menutype ."%'";
$query = "SELECT * FROM #__modules WHERE published='1' AND module='mod_exmenu' AND params LIKE '%menutype=". $menutype ."%'";


So it would be a nice feature if XMap would ask if "extended menu" is used or not (in order to get the fitting menu titles for the sitemap).

Bye! - Georg
FluteTraverse
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Fri May 09, 2008 2:15 pm

Return to Bugs



Who is online

Users browsing this forum: No registered users and 3 guests