changing breadcrumb widget "home"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2017 01:02 PM
In the ootb breadcrumb widget, there' s a part in the HTML for Home that looks like this:
<li><a ng-href="?id={{portal.homepage_dv}}">${Home}</a></li>
Where does portal.homepage_dv get set? I'm confused how this knows to take the user back to the homepage designated for the current Service Portal. How would I edit the code so that the Home doesn't take you to the main homepage of the portal, but rather the main page of a particular section. For example, I have the kb_category page link off of a page I created called "I Need Help". For the Home link in the breadcrumb, I'd rather that take the user back to I Need Help, rather than the main homepage of my portal. Any suggestions?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2017 02:06 PM
Hi David,
From my experience, it's best to avoid modifying OOTB items and create your own. Luckly, SN has a lot of examples you can build off otf. That said, it sounds like you may need to create your own 'breadcrumb' widget as explained here: Service Portal Breadcrumb - Redirection Issue
It doesn't answer the question as to where 'portal.homepage_dv' is set, but should help you create a custom breadcrumb widget for use with your portal.
- Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2017 02:21 PM
Not sure what you looking for here. That is pretty much how breadcrumbs works on sites. Home is the "first page". and if they have clicked some like here:
If they click on Office, they come back to the category "Office" and the the items that exists there.
Clicking Service Catalog leads them the the catalog "first page" and clicking on Home is the first page of the site you're on.
//Göran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2017 09:46 AM
Hi Goran, on my page I guess there's a page missing between Home and Knowledge Base. After thinking about it, I agree with you that Home should take you to my designated homepage, but in my case, I would like the breadcrumb to read Home > I Need Help > Knowledge Base instead of Home > Knowledge Base. On my page, a user would have to click on I Need Help first then another link that takes them to Knowledge Base. I want to give the user the ability to go back to the main I Need Help page since there are other helpful links on there besides Knowledge Base. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2022 03:33 AM
hi
Did u find answer to this? I also want to change my homepage from OOTB homepage to cloned homepage for a newly created portal.
If you found it please let me know how you achieved it.