Skip Navigation

[Resolved] Cannot create link to edit post form

This support ticket is created 4 years, 10 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 7 replies, has 2 voices.

Last updated by davidN-5 4 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1549003
2020-03-12_18-27-41.jpeg

I am trying to create a link to edit the post that belongs to the logged in user in my Layout. But I only receive this message:
I have followed this tutorial: https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

#1549301
layout-edit-form-link.JPG

Hello,

Since you are using Toolset Layouts plugin, the workflow is little different, you can use another layout to replace edit form content template, for example:
1) Create another layout "My edit layout", add a form cell, display the post form for editing post.
2) Edit the layout you mentioned in screenshot:
https://toolset.com/wp-content/uploads/2020/03/1549003-2020_03_12_18_27_41.jpeg

Then test again, you should be able to see the dialog window as screenshot layout-edit-form-link.JPG

#1550039
Screen Shot 2020-03-13 at 11.22.46 AM.png

Hello Luo,

I've done that also, and still get the same message.

Additionally, while I can click on the Toolset Forms button and open the dialog box, it does appear to be grayed out in the editor here:

#1551751

It is abnormal, please check these:

1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020,and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and layout URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1551765

Thanks for the details, I have done below modifications in your website:
1) Edit layout "Edit My Profile":
hidden link

Replace the visual editor cell with a post form cell, select the existing post form "Edit My Profile"

2) Edit the layout "Template for Alumni Profile Pages":
hidden link
Insert a visual editor cell, and insert the edit link as I mentioned above:
[toolset-edit-post-link layout_slug='my-edit-post-layout' target='self']Edit %%POST_TITLE%%[/toolset-edit-post-link]

Test it in front-end:
hidden link
Click link "Edit David Nordyke", please check if it is fixed, thanks

More help:
Form cell:
https://toolset.com/documentation/user-guides/layouts/cred-form-cell/

#1552719

Thank so much Luo. That worked! So, was my issue that I used a visual editor cell instead of a form cell?

#1552911

Yes, it is required to use Form cell instead of visual editor cell.

#1553039

My issue is resolved now. Thank you!