Tell us what you are trying to do? I am trying to allow front-end users to edit their posts.
Is there any documentation that you are following? Yes, https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
Is there a similar example that we can see? N/A
What is the link to your site? Under development
Documentation: https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
According to step 1:
I have an existing form that I want users to be able to edit, but I need to create a brand new form specifically designed for users to edit?
So, now I’m creating a brand new form. I select “Edit existing content” instead of “create content” like my existing form.
***It doesn’t say what to add in the next phase of this new form. The arrow in the image stops at settings. What do I put in the “build form” stage?***
According to step 2:
I create a new template. I select my EDITING form to be inserted.
According to step 3: (This is the most unclear)
Insert link to the Content Template that displays the form
***What link? The form doesn’t have a link. Only web pages do.***
In the last step, you need to insert links to the Content Template that will display the form. There are two places you can insert this link into:
Content Templates for displaying single posts
Views that list items, like posts or users
***I don’t understand which link. Also, do I need to create a content template for displaying single posts? Is it the existing content template for the initial first-time submission form?
The article also mentions “views that list items, like posts or users”. I only want users to be able to edit their own posts. IF their posts are listed, like if they click on the “manage ads page”, then they can edit their own submissions.
Later on, it says:
In the dialog that appears, look under the Forms Editing section and click the Edit post link button. Is this to add to a template that’s assigned to my original submission form or my editing form?
The instructions aren’t clear and I wasn’t able to find a video showing what steps needed to be taken to allow users to edit their own posts or create a page to link the “manage ads” page.**
Hello,
There are lots of questions in this thread, I am trying to answer them one by one.
Q1) but I need to create a brand new form specifically designed for users to edit?
Yes, you need to create a brand new form for editing post.
Q2) The arrow in the image stops at settings.
This is abnormal, in the "Settings" page, you will need to setup below options at least:
- Form type
- Post type to create/edit
- Set this post status
- After visitors submit this form
See the document you mentioned above:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
Screenshot:
hidden link
Q3) Insert link to the Content Template that displays the form
The content template is a feature of Views plugin, you need to install Views plugin, you can download it there:
https://toolset.com/account/downloads/
then follow above document to setup a content template for editing post:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/#2-create-a-content-template-for-displaying-the-editing-form
Section
Q4) I don’t understand which link. Also, do I need to create a content template for displaying single posts? Is it the existing content template for the initial first-time submission form?
No, you don't need to, as I mentioned above, it is a content template for editing post, you can follow above document to setup it, it is a brand new content template
Q5) Is this to add to a template that’s assigned to my original submission form or my editing form?
The work flow works like this:
- Create a new content template "Editing post", display the Toolset form for editing post,
- In a single post content, display editing link to above content template.
- In front-end, user visits single post, click above "Edit" link, redirect him to specific URL, display the edit post form
Thank you for your help. I'm still missing some very important information.
The article states:
3. Insert link to the Content Template that displays the form (***Which link?***)
In the last step, you need to insert links to the Content Template that will display the form. There are two places you can insert this link into:
Content Templates for displaying single posts (***Which content template do I add this to?***)
Views that list items, like posts or users
Adding an edit link to templates that display single items
When designing templates for displaying single posts, you might want to display a link to edit the post that is being viewed.
I'm really having a hard time connecting the pieces. I have created the editing form. I don't know if I should be creating a layout or template? I tried creating BOTH. Ultimately, I don't know how to link the pieces so that the flow works as expected. Thank you for your patience.
If you are using Layouts plugin, Layouts plugin will take over this job from content template, you can try these:
1) create a layout, and display the Toolset form for editing post.
2) In a single post content, insert the edit form link by these:
click the Toolset Forms button, click button "Edit post link", choose above layout of step 1)
see screenshot: edit-form-link.JPG
My issue is resolved now. Thank you! I needed to use a layout template.