Skip Navigation

[Resolved] Forms: major "edit content link" shortcode confusion

This support ticket is created 5 years, 9 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)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 5 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1195974
what is that.JPG

Whenever I want to put a link pointing to a form that edits existing content I am greatly confused by toolsets logic:

Usually there was a simple shortcode to create link to a form that edits the post in the loop of the current view. This shortcode still works but is not described anwhere in the documentation though you advise to use it in the forums.

[cred_link_form form='123' text="Edit [wpv-post-title]"]
Mentioned here: https://toolset.com/forums/topic/display-edit-post-link/

---

When using the UI to create such a to edit link I am left with a weird interface that makes not sense at all (at least to me). i cannot create link with that unless I define a template? For what? For a link? I just want to link to the edit form not to another view?

Also the documentation is of no help since it just states "In the dialog that appears, select the Content Template that displays your editing form." The dialog itself then states "Select a Content Template that contains a form shortcode".

I dont want another view that contains another shortcode. And even if I tried that, how can I get that "edit content" shortcode If i need a view that contains it?

I just want to display a link to the editing form and currently I am stuck with a method that works but is not documented anywhere.

The documentation that I am referring to:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

Edit: The upload shows the image as broken. Actually it is almost the same as this one:
hidden link

Thank you very much in advance. ?

________

Edit 2: OK. I get that part now for using a content template that contains a shortcode to display the editing form. But what about the undocumented shortcode that just creates a direct link for editing? Can I stick to use it?

#1196259

Usually there was a simple shortcode to create link to a form that edits the post in the loop of the current view.
I think you've already figured out that the recommended approach now is to place the edit post Form in a Content Template (or Template Layout if your site uses Toolset Layouts). Then this new shortcode should be used instead of cred_link_form:
https://toolset.com/documentation/user-guides/cred-shortcodes/#toolset-edit-post-link