iwanndie Posted February 22, 2021 Share Posted February 22, 2021 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? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 22, 2021 Share Posted February 22, 2021 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. 0 Quote Link to comment Share on other sites More sharing options...
iwanndie Posted February 22, 2021 Author Share Posted February 22, 2021 Would I need to do it through hooks? I was planning to limit it to 3. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 22, 2021 Share Posted February 22, 2021 1 minute ago, iwanndie said: Would I need to do it through hooks? yes. 3 minutes ago, iwanndie said: I was planning to limit it to 3. then layout issues shouldn't occur. 🙂 0 Quote Link to comment Share on other sites More sharing options...
iwanndie Posted February 22, 2021 Author Share Posted February 22, 2021 Is it just a case of getting the domain / per user in the hook, and passing that array to the ClientArea? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 23, 2021 Share Posted February 23, 2021 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). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.