I have a RFG field and I am trying to get "edit post link" for it. I have a view where I have the list for RFG.
I have followed this doc (https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/) to create everything.
I am stuck at this step: "3. Insert link to the Content Template that displays the form"
When I select edit post link the the dialog box always says,
Create a new Layout that will include the editing form. You can start from scratch or copy the template you use to display the content and modify it.
Documentation on Toolset edit links • See all available layouts, or create a new one
It is not listing any kind of list.
Hi, if your site uses Toolset Layouts, the process is slightly different. You can find a link to the Layouts documentation in the sidebar. I'm showing a screenshot here, but the link is https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/building-forms-for-editing-when-using-layouts/
Let me know if you have additional questions about that.
Thanks for recommending the correct doc. It indeed did the trick.
I was able to produce this short-code.
[toolset-edit-post-link layout_slug='edit-child-_support' target='self']Edit[/toolset-edit-post-link]
But It does not show in the listing? It just seem to ignore that particular short-code.
Okay and how is the Edit Post Form added to the edit-child-_support Layout? Is there a Form cell, or did you insert the Form using a shortcode?
I added a post form cell inside the layout: Find screenshot: hidden link
Okay first you should be sure this Layout is unassigned. Click "Change how this layout is used" in the Layout editor and unselect everything. If that doesn't work, you've added the toolset-edit-post-link shortcode to a View of the RFG, inside the wpv-loop area, correct? Are you testing as an administrator, or as another User type? If you're testing as another User type, have you applied any permissions settings in Toolset Access Control?
Access Control was the one with the issue.
One more question I would like to ask.
There are two options
1) Edit Others Custom Post with the Form "Edit Child"
2) Edit Own Custom Post with the Form "Edit Child"
I am able to be edit it when I select option 1. But it doesn't make sense. The RFG posts are all of the proxy user(post created) who is currently logged in. Should this be the case?
I am able to be edit it when I select option 1. But it doesn't make sense.
No that does seem strange...Are you sure the RFG post author matches the current logged in User? Even if the parent post was created by the author, someone else could have added the RFG, and each RFG could have a different author. You should be able to verify the author matches the current User by adding the wpv-post-author shortcode next to the Edit Post Link shortcode.
If so, then there's something else going on I don't quite understand. I'll need to take a closer look.
My issue is resolved now. Thank you!