Joomla, Joomap itemid=99999999

EpicStatus

Joined: 2007-01-23
Posts: 24
Posted: Mon, 2007-01-29 15:14

I am using the newest .14 version of the bridge with Joomla 1.x and Gallery 2.2.

After discovering that URL rewrite/SEF doesn't work with the bridge, I tried to get Joomap up and working. I correctly installed it and added the Joomap plugin for Gallery 2 downloaded from the Joomap website. It goes through my galleries just fine, but on the sitemap none of the links to the gallery work. Links to other areas of the site work fine. It is giving Gallery pages the wrong item id number, itemid=999999.

Is the Joomap plugin for Gallery not compatible with Gallery 2.2 or something? Can anyone help, please? I really would like to have my Gallery come up occasionally in search engines. Thank you!

 
EpicStatus

Joined: 2007-01-23
Posts: 24
Posted: Fri, 2007-02-02 16:35

Fixed this. Someone on the forum for the bridge had the same problem at same time and came up with this. This fixes wrong item id in booth Joomap and in Image block that displays outside of Gallery.

I edited core.class under the class folder ..

Down the very bottom , find the line that says:

/* No Itemid set, fallback to Joomla default 99999999 */
return 9999999;
}
}
?>

Change the return 9999999 to the ID of your gallery.. In my case it was 30 ... Now my random image block module works fine ...