Jump to content

[Solved] Profields page table auto add chidlren?


neosin
 Share

Recommended Posts

I have a template with a field using profields page table and when I add children they do not get added to the table list automatically.

Instead, when I add a child it appears under the table and I must select new children and to add to the table and click save, then they display in the table. The message displayed is " Children were found that may be added to this table. Check the box next to any you would like to add. "

Is there a way to have them added automatically to the table when they are created in the admin instead of having to add them afterwards?
 

Link to comment
Share on other sites

@adrian hmm I read the thread but am confused, where is the code example supposed to be saved?

I have a few dozen users and am concerned they will add children both via page tree and via the page table, so it is important that the functionality when saving a child is the same for either method used to add new children.

 

Link to comment
Share on other sites

1 minute ago, neosin said:

@adrian hmm I read the thread but am confused, where is the code example supposed to be saved?

I have a few dozen users and am concerned they will add children both via page tree and via the page table, so it is important that the functionality when saving a child is the same for either method used to add new children.

 

You could put it in your admin.php as I mentioned in that thread, or your ready.php if you prefer.

 

  • Thanks 1
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...