- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2015 09:46 AM
I am using CMS to create a custom site and have a need to remove the standard breadcrumbs from the form header (not the list filter) if forms and catalog items. I was successful for the incident form using an onLoad client script, obtaining the element id "form_header" and setting visibility to false. However, I need to do this for all catalog items (several hundred) and I don't want to create a client script of each one. So is there a global way to remove the standard OOTB breadcrumbs?
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2015 11:23 AM
To avoid creating a client script for each catalog item, use a global UI script instead. It will run on every page in the system. You can use location.href to check if current page is "com.glideapp.servicecatalog_cat_item_view" and if it is — hide the DOM element that contains breadcrumbs. Something along these lines:
(function() {
addLoadEvent(function() {
if(location.href.indexOf('/ess/com.glideapp.servicecatalog_cat_item_view.do') != -1 {
gel('your_element_id').hide();
}
});
})();
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2015 10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2015 11:45 AM
Thank you for responding Anurag, however, the breadcrumbs still appear even with changing the properties. Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2015 09:22 PM
May need to clear the cache. Type cache.do via nav list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2015 12:33 PM
Hi Kathy
Did you get this resolved? I did this in our instance by changing the default setting to 'false' for property 'glide.sc.show_listing_breadcrumbs'