Announcement

Collapse
No announcement yet.

Disabling clickable bread crumbs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disabling clickable bread crumbs

    Hi!

    To disable clickable bread crumbs on top of detail view, I had to core change the following files:

    client/src/views/detail.js
    client/src/views/edit.js

    Code:
    rootLinkDisabled: false
    ->
    Code:
    rootLinkDisabled: true
    Is there a way to do this in an upgrade safe way globally for all modules?

    I tried to do it in

    custom/Espo/Custom/Resources/metadata/clientDefs/App.json
    Code:
    {
    "views": {
    "detail": "custom:views/detail"
    }
    }​
    and

    client/custom/src/views/detail.js
    Code:
    define('custom:views/detail', ['views/detail'], function (Dep) {
    return Dep.extend({
    rootLinkDisabled: true,
    setup: function () {
    debugger;
    },
    })
    });​
    But that didn't work.

    I really appreciate your help!
Working...
X