Jump to content

Creating a page trough field does not honor family settings: BUG?


vknt
 Share

Recommended Posts

I have a template set with family option: Can this be used for new pages: No.

However I'm able to create pages with that template through a field of type Page with the checkbox "Allow new pages to be created from field?" checked'

I think this field should also honor this family option setting. Or am I missing something?

Link to comment
Share on other sites

Family is not enforced by the API for new pages. Though it does prevent you from creating a page the traditional way in the admin. If you as the superuser have setup a Page field to allow creating pages somewhere, and you've specified a specific parent and template you want, then that's specific enough so as to override the family setting. Not sure if it should be that way or not. Its just a question of what should override what. I veer towards letting the family setting be more open ended on this stuff. But family settings are relatively new to PW and still marinating in some respects. We may want to refine some of these behaviors over time.

Link to comment
Share on other sites

If you as the superuser have setup a Page field to allow creating pages somewhere, and you've specified a specific parent and template you want, then that's specific enough so as to override the family setting.

Ok, that makes sense. Thanks for the clarification Ryan!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...