Wednesday, 22 October 2014 13:56
beggarly

issue with alias in menu ... xmap stopped here

Report Xmap bugs on this forum.

issue with alias in menu ... xmap stopped here

Postby BastianW » Sun Jul 01, 2012 6:14 pm

Hello,

I think I discovered a bug. I have the following menu Structure:

Menu
Submenu1
Submenu1.1
Submenu1.1.1

If I configure submenu 1 to be an alias for submenu1.1 it seamd xmap didn´t follow that link.
BastianW
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Thu May 17, 2012 12:37 pm

Re: issue with alias in menu ... xmap stopped here

Postby natroxart » Sat Jul 28, 2012 2:50 pm

Hy BastianW,

to fix the blog / category view on the xml Sitemap ( not onpage xmap view ) change the folowing code parts.

The xml view from xmap filters duplicated entrys ... a "alias" is a "Entry" and the default site is a "Entry" to fix this Problem/Bug to show all entrys in a blog/category view:

\components\com_xmap\views\xml\tmpl\default_class.php

Before:
Line: 69

Code: Select all
if ($node->browserNav != 3   // ignore "no link"
                && empty($this->_links[$link])) { // ignore links that have been added already


After:
Line : 69

Code: Select all
if ($node->browserNav != 3   // ignore "no link"
                && empty($this->_links[$link]) // ignore links that have been added alreadyore links that have been added already
                && $node->type != 'alias') { // ignore "alias entrys for duplicate problems"


After this Fix you see all Entrys in the XML-View.

I hope that helps you.
natroxart
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Sat Jul 28, 2012 2:14 pm


Return to Bugs



Who is online

Users browsing this forum: Bing [Bot] and 6 guests

cron