Jump to content


Photo

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


  • Please log in to reply
2 replies to this topic

#1 vknt

vknt

    Full Member

  • Members
  • PipPipPip
  • 72 posts
  • 9

Posted 18 May 2012 - 07:25 AM

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?

#2 ryan

ryan

    Hero Member

  • Administrators
  • 5,780 posts
  • 3124

  • LocationAtlanta, GA

Posted 18 May 2012 - 10:55 AM

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.

#3 vknt

vknt

    Full Member

  • Members
  • PipPipPip
  • 72 posts
  • 9

Posted 19 May 2012 - 05:06 AM

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!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users