-
-
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
Hide (modular) page types in Admin automagically #1828
Comments
Where in the admin are you referring to exactly? |
I think he refers the admin plugin settings where you can hide page types. That said, I don't think there is really need for that -- there is an event for plugins which you can hook into and remove the types you don't want to be listed. |
I think what @fosil means is to have a way to specify a pattern in the admin setting @mahagr is mentioning. Right now you have to select all the templates one by one but in the input field if you were to type I personally do not find this much useful, but I have never found myself needing to hide any template, let alone a multitude of templates based on a pattern. |
My most common use case is: |
…in" and "Hide modular page types in Admin" settings (fixes #1828)
Wow, that's great news for me! And I think not just for me. Thanks! |
It would be nice if it was not necessary to enter all types individually, but to set a certain naming convention. E.g. ignore all templates with name starting with underscore - e.g. _templateto_be_ignored.html.twig.
Ideally with a switch in plugin settings that can enable/disable this feature.
Have you considered something like this?
Thx
The text was updated successfully, but these errors were encountered: