Web Design Glasgow

Web Design: Stylish, Flexible & Bespoke

Web Hosting Glasgow

Web Hosting: Carbon Neutral, Fast & Reliable

IT Support Glasgow

IT Support: Quality Advice, support & Delivery

Print
PDF

Virtuemart : Duplicated breadcrumbs

User Rating: / 1
PoorBest 

Edit the file mainframe.class.phpmainframe.class.php and replace with the following make a backup before doing so

function vmAppendPathway( $pathway ) {function vmAppendPathway( $pathway ) {
 global $mainframe;global $mainframe;
 // Remove the link on the last pathway item
 $pathway[ count($pathway) - 1 ]->link = '';
 if( vmIsJoomla('1.5') ) 
 {
 if(count($pathway)>1)
 { $cmsPathway =& $mainframe->getPathway();
 $i=0;
 foreach( $pathway AS $item) {
 if($i>0)
 { $cmsPathway->addItem($item->name, str_replace('&', '&', $item->link) );
 $item->name = html_entity_decode( $item->name, ENT_QUOTES ); 
 }
 $i=$i+1;
 }
 }
 } else {
 $tpl = vmTemplate::getInstance();
 $tpl->set( 'pathway', $pathway );
 $vmPathway = $tpl->fetch( 'common/pathway.tpl.php' );
 $mainframe->appendPathWay( $vmPathway );
 }
 }

//RECENT WORK

RedbagUK New Website

RedbagUK

Discover the latest men's clothing and accessories online with RedBagUK.

Learn More
Oasis Skincare Centre

Oasis Skincare

Oasis provides Dermalogica Products to the UK

Learn More
spotlight

Allan Nisbet

Director | Glasgow, UK

Storm Tweet

Fraser IT Engineer

Fraser

IT Engineer | Glasgow, UK

Storm Tweet