-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Prevent pages from being a parent #735
Comments
Page's must have a parent, even if their parent is ROOT. This is because we must know where in the page structure to put the page. However, I think we can definitely improve the interface for choosing this. |
this is completely ok for me. and i do not want to prevent pages from having a parent, but from being a parent for other pages. to be more specific on this: in real life, the client has the following structure (there are 8 product categories. inside the categories there are up to 20 groups, and inside the groups up to 50 products):
i want an option that hides the pages of "product x" from the "choose parent"-dropdown, because there should not be a child page inside a product. |
This is right now i think the biggest pain in admin. A must feature. I think anyone can profit from feature like that. |
I've talked with Andy about this improvement months ago in gitter chat, but totally forgot to create the issue. In my case I have many modular pages that will never have childs pages, then I dont need them in the Parent select list. Something like |
Lots of people have problems with admin when they have many pages (guys on forums that have 5000 products of eshop etc.). Its almost never the case that some kind of data like blogposts/products/events would have children. Those are usualy your endpoint. Modular should not able to have children by default actualy. Also being able to define what kind of possible templates children of a page can have is almos as important as being able to define that they cant have children. This would solve almost all problems with admin when using big amount of pages. I dont want to sound like "MY USECASE IS THE IMPORTANT ONE" but coming from other flatfile cmses - ive done this on every single one website ive done. But maybe its something devs are doing for Admin PRO? I am ok with that, i just think that grav is so advanced in some things (page collections for example) but it doesnt have this core functionality. |
I would very appreciate an option for pages to prevent them from being a parent page. The background is, that one of my client has a very deep page hierarchy. When creating a new page, he has to scroll through about 500 pages to find the right parent. An option like this would tidy up the dropdown for setting the parent page drastically.
Approach as follows:
Hope to find this feature in the next release :)
The text was updated successfully, but these errors were encountered: