Skip Navigation

[Resolved] Edit Form in Template not shown

This thread is resolved. Here is a description of the problem and solution.

Problem:

Tools form for editing post does not work as expected with Elementor templates.

Solution:

Here is a workaround by custom codes, see it here:

https://toolset.com/forums/topic/view-issue/#post-1154653

Relevant Documentation:

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 4 replies, has 2 voices.

Last updated by SteffenM1628 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1157168
1.png
2.png
3.png

I am trying to:
I tried your walkthrough (https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/#1-create-the-form-for-editing) but i do get stucked.
What i did:
1. Edit Form is created
2. Content Template is created with the Edit form
3. Built a view with edit link to the content template with the form on

My Problem is, Number 3: The edit link is directing to the post not to the edit form.

I have some images for you attached.

#1157192

I found the problem, maybe you can check this, too.

I use elementor pro to built the single Post layout templates.
When i do not use a elementor single template - the link does work and the toolset content template is showing.

So i hope you can fix this bug and help me out.

cheers

#1157204
Bildschirmfoto 2018-12-02 um 16.15.01.png

Ok i know that a content template does not have to be assigned to the same post type like an elementor template.

but in the content template i do not have any post types assigned like you said in the walkthrough:
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

i also found a support question to this with a custom code. but i can´t see the code because it is a hidden link.
https://toolset.com/forums/topic/view-issue/

cheers

#1157640

Hello,

I assume we are talking about the link in this post:
https://toolset.com/forums/topic/view-issue/#post-1155349

I copy it here:
hidden link

I suggest you backup your database first, since it will change the data, and you will need to customize line 15~16 in that file:

$affected_post_type = 'page';//edit to the post type affected
$template_id = '12'; // Edit to your content template ID.
#1158939

My issue is resolved now. Thank you!