On page creation set parent based on user
-
Hello,
I need some help or information about the following:
I’m creating a website that has different users and they have the possibility to create pages. However, they may only create child pages under their own parent page created by the admin. It sounds more complicated than it is, I think.
Example:
When user “user-1” creates a page, his parent page must be automatically selected so that the hierachy is correct.
Main page
– Provider page 1
— Provider package page 1 (created by user 1)The parent page has the same name / title as the username of the user who can make a page in it.
Perhaps there is a possibility that you can see when “user-1” is logged in and if there is a match with a page with the same name. When this is true, he automatically selects the page with the same name as a parent.
Maybe something like this is possible?
- The topic ‘On page creation set parent based on user’ is closed to new replies.