Update 'EC Breadcrumb' widget to take the user back to the home portal page

matthew_hughes
Kilo Sage

One of our requirements is to use the OOTB 'EC Breadcrumb' widget so that it includes a 'back' option. We've included it in one of our portal pages as shown below:

matthew_hughes_0-1721718974802.png

 

However, what we noticed is that if go onto another page and then select 'Back', rather than taking the user to the home portal page, it takes them to the previous page that they were on.

 

Does anyone know what needs amending within the 'EC Breadcrumb' widget so that the 'Back' button takes the user to the home portal page as opposed to the page that they last viewed?

 

1 REPLY 1

Akash4
Kilo Sage
Kilo Sage

Hello,

You can verify Client controller for the following function and modify accordingly:

$scope.goBackOrRelatedFn= function() {
window.location.href = '/sp';
};

Regards, Akash

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.