Skip Navigation

[Closed] edit forms

This support ticket is created 3 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 3 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#2019225

Good morning

I intend to build a kind of wikipedia site.

Members would be able to suggest a content modification using an edit form. Then moderators/admins would accept / reject this modification before it is published.

1- is it possible to keep displaying the original content until the modification is accepted ?
2- is it possible for a member to modify a content several times until the modification is accepted / rejected ? E.g. a member modifies the title but forgot to modify the first paragraph, so he re-edits its modification to further modify the content ?
3- is it possible to have a kind of comment section so that members and moderators/admins can discuss the suggested modification ?

Thanks in advance
Eric

#2019567

Hello, in the typical Toolset Forms workflow, you can create an Edit Post Form that allows Users to submit edits to a post, and saves the post in a new status like "Pending Review" or "Draft". Then your admins and moderators can act on those edits, and either publish or reject them. However, during that time period between the edit and moderation, then original post is not still displayed on the site as a published post, it is hidden from view as a Pending Review post. So you would have to use some custom programming to get this to work exactly like you have described.

One way would be to create a post relationship between the main post type and another post type, and use the child post type to store each revision update. When the User wants to make a change to the post, the User would create a new child post that copies the values from the original parent post, then allows them to make modifications as needed. When that Form is submitted, a new child post is created in Pending Review status, and admins or moderators can review the change. To publish those changes into the original post, you would need another Form for admins or moderators that edits the submitted child post. Then use the Forms API to copy the child post contents into the parent post when that edit post form is submitted.

That would allow you to continue showing the original post while the proposed post edits are being moderated. It would also enable multiple revisions of a single edit, and you could enable comments on the child post type to allow discussion for each revision post submitted.

If you think this could work for your case, we can discuss some options for implementing a similar solution on your site.

The topic ‘[Closed] edit forms’ is closed to new replies.