neosin Posted April 10, 2018 Posted April 10, 2018 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?
adrian Posted April 10, 2018 Posted April 10, 2018 4 minutes ago, neosin said: @adrian you are amazing, ty vm Cheers - check that issue that @thetuningspoon brought up a couple of posts below - might be something to change in my code - I don't think I ever looked into it.
neosin Posted April 10, 2018 Author Posted April 10, 2018 @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.
adrian Posted April 10, 2018 Posted April 10, 2018 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. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now