Wednesday, 03 September 2014 04:52
beggarly

Duplicated Items

Report Xmap bugs on this forum.

Duplicated Items

Postby leej » Mon Aug 11, 2008 11:51 am

Hi,

I have just installed xmap 1.2 but have duplicated menu items displaying. I am running Joomla 1.5.5. Any ideas on how to fix?

http://thecoastrider.co.uk/site/index.php?option=com_xmap&sitemap=2&Itemid=123

Many thanks.
leej
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mon Aug 11, 2008 11:22 am

Re: Duplicated Items

Postby guilleva » Mon Aug 11, 2008 12:57 pm

Hi, could you please tell me which items are duplicated in your site map? Because it's a little big!
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Duplicated Items

Postby leej » Mon Aug 11, 2008 1:11 pm

Hi guilleva,

Thanks for your reply.

The duplicated items are under the News, Sport and Lifestyle categories but...

I have just uninstalled xmap and deleted the backup tables in phpmyadmin in order to try a fresh install. :roll:

I'll let you know how I get on.

Thanks again.
leej
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mon Aug 11, 2008 11:22 am

Re: Duplicated Items

Postby leej » Mon Aug 11, 2008 1:17 pm

Hi guilleva,

I still have the same problem: http://thecoastrider.co.uk/site/index.php?option=com_xmap&sitemap=1&Itemid=123

News
The Local, National and World categories (and articles) are duplicated

Sport
All categories (and articles) are duplicated

Lifestyle
Multiple categories (and articles) are duplicated

I have checked in Joomla and the sql tables and these are not duplicated there.

Any help would be appreciated.

Thanks.
leej
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mon Aug 11, 2008 11:22 am

Re: Duplicated Items

Postby guilleva » Mon Aug 11, 2008 2:31 pm

Hi, are you using Xmap's cache feature? If yes, please try cleaning the cache.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Duplicated Items

Postby leej » Mon Aug 11, 2008 2:41 pm

Hi guilleva,

I'm not using the cache feature, but I hit Clean cache a few times for luck anyway. Made no difference though. Any more ideas? Would really like to use this component!

Thanks.
leej
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mon Aug 11, 2008 11:22 am

Re: Duplicated Items

Postby guilleva » Mon Aug 11, 2008 2:57 pm

Hi, could you please make a screenshot of your menu manager where I can see the structure of the "News" submenu?

Thanks!
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Duplicated Items

Postby leej » Mon Aug 11, 2008 3:12 pm

Hi guilleva,

The screenshot can be downloaded from: http://thecoastrider.co.uk/news_sport.jpg.

I have included the Sport menu items too.

Thanks for your help.
leej
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mon Aug 11, 2008 11:22 am

Re: Duplicated Items

Postby guilleva » Mon Aug 11, 2008 3:41 pm

Hi, I think I have found the reason of that, but it could be only possible if you are using PHP 4, are you?

Please try replacing your file
/administrator/components/com_xmap/extensions/com_content.php by the one in the attachment:
com_content.zip
(4 KiB) Downloaded 403 times


Or replace the line
Code: Select all
   function prepareMenuItem($node) {

by
Code: Select all
   function prepareMenuItem(&$node) {


in that same file.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re: Duplicated Items - RESOLVED

Postby leej » Mon Aug 11, 2008 4:14 pm

Hi guilleva,

That's fixed the problem!

Many thanks for your time and help, much appreciated.

This is a great component, will be using it on every site I build from now on.

Kind regards,

Lee
leej
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Mon Aug 11, 2008 11:22 am

Next

Return to Bugs



Who is online

Users browsing this forum: Exabot [Bot] and 2 guests