-
- 24,544 Posts
I'm glad you got it sorted.
Did you modify the NP code? If so, I'd like to see the changes.
If you modified the code that sets the parent ID, I'm impressed that you managed to follow the existing code.
-
- 151 Posts
Hey BobRay,
I did not modify any php-code, I'm not such a big programmer, but of course I modified some chunks.
For the parent ID I use fastfield to get the correct ID via a get-method. In the outerTpl I send it back with the form so the page is created correctly under the right parent.
And of course I made it safe by checking if the user has the rights to add a page.
-
- 24,544 Posts
Sounds brilliant.