Hide specific dashboard menu items
Permalink 1 user found helpful
Hello everyone!
At the moment I am learning how to build single pages properly.
I am trying to create a case where my client can add Contacts. I already succesfully added a "Contacts" page which is contains the pages "Clients" and "Suppliers". Now these two both have another single page beneath them called "Add". Obviously these are to add new clients and add new suppliers.
Now my problem is that the "Add" pages show up in my dashboard menu. (Screenshot added on how my filetree looks like)
These "Add" pages need to be hidden since there will be a link on the "Clients" and "Suppliers" page which will link to them. I have been searching around on how it has been done with the page to add new users, but I can't seem to find a solution.
Does anyone knows how to do this? Thanks in advance!
- Stef
At the moment I am learning how to build single pages properly.
I am trying to create a case where my client can add Contacts. I already succesfully added a "Contacts" page which is contains the pages "Clients" and "Suppliers". Now these two both have another single page beneath them called "Add". Obviously these are to add new clients and add new suppliers.
Now my problem is that the "Add" pages show up in my dashboard menu. (Screenshot added on how my filetree looks like)
These "Add" pages need to be hidden since there will be a link on the "Clients" and "Suppliers" page which will link to them. I have been searching around on how it has been done with the page to add new users, but I can't seem to find a solution.
Does anyone knows how to do this? Thanks in advance!
- Stef
Because it literally just says "Add". I know I can change the names, but I know it is possible. Just like the single_page to add a new user (/dashboard/users/add). It doesn't show up on the dashboard menu either.
Thank you very much. But I am not making a package. Just single pages in the application folder ;)
Enable advanced permissions and remove the permission that is named something like 'view in sitemap' from the relevant user/group. I may have misunderstood though - as far as I know the add page under members always shows in the sitemap by default.
sorry Stef - I just realised I misunderstood what you were asking. Must be a little too early here for my brain.
The site menu on the right is an auto-nav I believe. So, if you add the attribute to your page to exclude from nav that should do the trick.
The site menu on the right is an auto-nav I believe. So, if you add the attribute to your page to exclude from nav that should do the trick.
AndyJ, thank you so much!
I can't believe I missed this during 2 hours of trying to figure out how this works.
I can't believe I missed this during 2 hours of trying to figure out how this works.
Why do you want to hide the "Add" pages?