You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
Hey @BernhardBaumrock - I'd love to know more about this tweak because in my experience this is how PW already behaves. Obviously I am missing something though :)
The reason will be displayed to describe this comment to others. Learn more.
I can't say 100% for sure but I think PW only behaves like this if you only allow one template for a certain parent. Then you can skip one step in the page add process. But there are situations where multiple parents are allowed but not for all roles or not for all parents (when restricted dynamically via hook).
I think in those cases you get a regular page add letting you choose the template (where only one is selectable) and thats not necessary.
Maybe it should better be fixed in the core, but you know how it is. Sometimes these things are not added for years, so I guess I went the quick route for a project and created the tweak...
19cee0b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @BernhardBaumrock - I'd love to know more about this tweak because in my experience this is how PW already behaves. Obviously I am missing something though :)
19cee0b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't say 100% for sure but I think PW only behaves like this if you only allow one template for a certain parent. Then you can skip one step in the page add process. But there are situations where multiple parents are allowed but not for all roles or not for all parents (when restricted dynamically via hook).
I think in those cases you get a regular page add letting you choose the template (where only one is selectable) and thats not necessary.
Maybe it should better be fixed in the core, but you know how it is. Sometimes these things are not added for years, so I guess I went the quick route for a project and created the tweak...