Update 'EC Breadcrumb' widget to take the user back to the home portal page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2024 12:18 AM
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:
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2024 12:27 AM
Hello,
You can verify Client controller for the following function and modify accordingly:
$scope.goBackOrRelatedFn= function() {
window.location.href = '/sp';
};
Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.