Jump to content

Recommended Posts

Posted

Yes, see the next two posts in that thread :)  Your solution is helpful but still requires the page with the PageTable to be viewed in the editor before the item actually gets added to it.

Oops - I should have noticed your comments there.

I actually didn't think about them not being added until the field is viewed in the editor. In reality when I have a PageTable field with the pages as children of the page, I just call the children, rather than the PageTable field, so it doesn't actually matter that they are not added until the editor is rendered.

Perhaps that code could be changed to work on page save - check if the parent has a PageTable field in it and then check if the saved page belongs to the field?

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
  • Recently Browsing   0 members

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