0
Hi Germi and MusCol community,
Our site uses XMAP extension developed for Joomla 2.5. Our problem lies with the way the links are generated. There is no option in the extension to set a menu id so our links are as follows "component/muscol/.." which is incorrect and effects SEO. Is there a way to link our correct menu id through php?
I think the issue lies with this code:
Our site uses XMAP extension developed for Joomla 2.5. Our problem lies with the way the links are generated. There is no option in the extension to set a menu id so our links are as follows "component/muscol/.." which is incorrect and effects SEO. Is there a way to link our correct menu id through php?
I think the issue lies with this code:
if( ($xmap->printNode($node) !== FALSE) && $params['expand_albums']) {
$albums = xmap_com_muscol::getDBAlbums($row->id);
foreach($albums as $album) {
$xmap->changeLevel(1);
$node = new stdclass;
$node->id = $parent->id;
$node->uid = $parent->uid.'a'.$album->id; // unique id of the element in all the component
$node->pid = $album->id; // parent id
$node->name = $album->name;
$node->link = 'index.php?option=com_muscol&view=album&id='.$album->id;
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »