Linked Relationship Nested Navigation Control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • czcpf
    Senior Member
    • Aug 2022
    • 160

    Linked Relationship Nested Navigation Control

    Is it possible to customize the navigation links above entities when navigating around?

    For example, if I have a Parent->Child Entity Relationship (Many-to-One)

    I click the child, and it displays:

    Child Entity List Link > Child Entity Name

    But I desire it to show:

    Parent Entity Link > Child Entity Name

    In other words, how does one control breadcrumbs? It seems only to default to Entity Type List > Entity



  • lazovic
    Super Moderator
    • Jan 2022
    • 809

    #2
    Hi czcpf,

    Could you show schematically what kind of display you want to achieve? This will make it easier to understand and help you faster.

    Comment

    • czcpf
      Senior Member
      • Aug 2022
      • 160

      #3
      I come from many years in Yii framework (see link below) So for example, I would like to control link navigation for a given view.

      “breadcrumbs like "Home / Sample Post / Edit" means the user is viewing an edit page for the "Sample Post". He can click on "Sample Post" to view that page, or he can click on "Home" to return to the homepage.

      an example for EspoCRM:

      I’m viewing an Account Entity (ie Account Test)

      breadcrumbs on the detail view shows (this is the default currently I believe. )

      Accounts > Account Test

      Suppose now user clicks on one of the “Contact” links (ie John) listed on the Account Test Entity Detail view. User is then shown a detail view of Contact John but the breadcrumbs above show:

      Contacts > John

      however, I would like to have it show :

      Account Test > Contacts > John

      because this makes navigation more intuitive and easier to get back to the account I was just viewing.

      If you could give me some direction I would appreciate it. No need for a full solution. Mainly, I’m having much difficulty just figuring out the application structure of all these view files and templates to understand where this logic is even rendered.



      Last edited by czcpf; 09-14-2022, 06:03 AM.

      Comment

      Working...