Tell us what you are trying to do?
here is the video explaining it: hidden link
Is there any documentation that you are following?
prior support tickets:
Hello,
I think it is possible within Toolset Forms + Views.
For example, you can try these:
1) Create a page "Edit vendor", put the edit form into the new page
2) In a single "vendor" post, setup a link to above page, and pass vender's post ID as URL parameter "vendor-id":
hidden link
3) In the target page "Edit vendor", you can get the URL parameter "vendor-id" value with shortcode [wpv-search-term]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term
For example:
[wpv-search-term param="vendor-id"]
4) pass it to your form shortcode attribute "post", like this:
[cred-form form="edit-vendor" post=[wpv-search-term param="vendor-id"]]
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_form
post. Optional. The post ID to edit with this form. If form is an edit form and this is skipped, the ID of the current post in the loop will be used.
I don't understand how to do this: (pass vendor's post ID as a URL parameter). Please give an example
(In a single "vendor" post, setup a link to above page, and pass vender's post ID as URL parameter "vendor-id":
hidden link)
For example, in a single "vendor" post content, you can setup the link like this:
<a href="<em><u>hidden link</u></em>;">Edit this vendor post in another page</a>
This code will diplay 1st image below:
hidden link;
[cred-relationship-form form="edit-attendances-relationship-form" post=[wpv-search-term param="vendor-id"]]
- This was in a loop view - which I can't get to work anymore. How do I use this instead of the image below:
[wpv-post-link] === [cred-relationship-form-link form='edit-attendances-relationship-form' role_items='$fromViews' content_template_slug='edit-attendances']Edit [/cred-relationship-form-link] === [cred-delete-relationship role_items='$fromViews' relationship='attendance']Delete [/cred-delete-relationship]
The URL shoud be something like this:
hidden link
please replace 123 with the vendor post ID, if you need more assistance for it, please provide a test site with the same same problem, also point out the problem page URL, where do you want to display the link, thanks.
Thank for the details, I am checking it in your website, will update here if there is anything found.
I have done below modification in your website:
1) Edit the page "Edit Vendor Attendance":
hidden link
Add the edit post form shortcode as below:
[cred_form form='edit-vendor-listing-post-form' post='[wpv-search-term param="vendor-id"]']
2) Test it in front-end, for example:
hidden link
click link "Edit this vendor attendance in another page", it redirect me to URL:
hidden link
I can see the edit form, it works fine, please check if it is what you want. thanks
These two links now do the same thing:
Edit This Vendor
Edit this vendor attendance in another page
A vendor attendance is the relationship between a vendor and a farmers market.
The "Try This" link is the one to work with...
I redid a vendor page - to help clarify
hidden link
Thanks Luo, for being patient.
Sorry for the misunderstandings, according to our document:
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/editing-existing-connections-between-related-posts/
It is required to use a content template to display the relationship form for editing existed relationships.
In your case, you can disable the sidebar of content template "Edit Attendances", like this:
Edit the content template "Edit Attendances":
hidden link
in section "Document", option "Sidebar Layout" choose: Content (no sidebars).
See screenshot document.JPG
I have tested it in front-end, by these steps:
1) Go to URL:
hidden link
2) Click "Edit" link after text "Huntington Farmers Market", it redirect me to URL:
hidden link
And it display just fine, please check if it is what you want, thanks.
More help:
https://toolset.com/documentation/recommended-themes/using-toolset-with-generatepress-theme/#controlling-generatepress-theme-options-for-templates-and-archives
Controlling GeneratePress theme options for templates and archives
Not resolved. Can't get the symmetry of editing a vendor (via a link to another page), and editing (via a link to another page) of relationships on another page working.