Jump to content

Getting Customer's Domains/Products in Navbar


iwanndie

Recommended Posts

24 minutes ago, iwanndie said:

Is it possible to pass the domains, and products of a customer to the navbar, so that those products and domains can be listed in the navbar?

yes - though if the client had a lot of domains/services (incl cancelled/terminated), then it could be a long dropdown list to display and look a total mess on the navbar... but it would be doable, as it's a query to get the array of services / domains, loop through it and add a child to the navbar for each domain/service linked to it's ID.

Link to comment
Share on other sites

22 hours ago, iwanndie said:

Is it just a case of getting the domain / per user in the hook, and passing that array to the ClientArea? 

it's more a case of getting the array of domains, looping through them and adding each child... it's slightly more involved for services, but in both cases, it would just be a primarynavbar hook (only needs to be one hook).

1Vd0VSO.pngpnVH0Yu.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated