Skip Navigation

[Gelöst] Edit Form in Template not shown

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 5 Jahren, 11 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von SteffenM1628 vor 5 Jahren, 11 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#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:
versteckter 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!