Skip Navigation

[Gelöst] Content Template for CRED form Edit not Theme's Blog Post (Edit Post Form)

This support ticket is created vor 3 Jahre, 8 Monate. 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 5 Antworten, has 2 Stimmen.

Last updated by Luo Yang vor 3 Jahre, 8 Monate.

Assisted by: Luo Yang.

Author
Artikel
#1742603

Tell us what you are trying to do? CRED form edit is returning a Blog Post Content Template. This sounds like a simple solution, but I cannot figure out how to create and assign a CRED edit form page that is my own clean design and not the presented theme's Blog Post template using Toolset. Hope this makes sense. What am I forgetting to do not default to Blog Post template?

Front end link code used in CRED form edit: [cred_link_form form="XXXX" form_name="SAMPLE FORM Edit" text="<i class='fas fa-edit fa-lg' style='color:green'>" message="This will take you to edit page. Go now?" target="_self"]

Is there any documentation that you are following? Not sure

Is there a similar example that we can see? NO

What is the link to your site?

#1742899

Hello,

I suggest you try to follow our document to setup a content template for display the Edit post form, then display the edit form link with shortcode [toolset-edit-post-link], see our document:
https://toolset.com/course-lesson/front-end-forms-for-editing-content/
Front-end Forms for Editing Content

#1743627
edit-post-form.jpg
edit-form-blog-template.jpg
edit table.jpg
edit form fields.jpg

Thank you. I have done all of that. Form and Form Edit are 3 years old and functioning fine. From theme to theme, the problem is that the Edit form is returned inside of a Blog Post template rather than like the output of a Page. Should I create an actual page for the Edit Form and drop the shortcode into the content area to have that returned instead?
--------------------------------
I am linking to the Edit form from a looped table using this <b>[cred_link_form form="XXXX" form_name="SAMPLE FORM Edit" text="<i class='fas fa-edit fa-lg' style='color:green'>" message="This will take you to edit page. Go now?" target="_self"]</b>, which calls the Edit form that is not intended to parse inside of a Blog Post template.

I feel as though I'm not formatting the form editor template in Edit Post Form correctly, which is why it might be returning the results into a Blog Post template.

<b>See images:</b>

"edit-post-form.jpg" - shows the Edit Post Form editor content format (might be solved here)
"edit-form-blog-template.jpg" and "edit form fields.jpg" - shows Edit Form output in Blog Post template
"edit table.jpg" - shows the front end page from where the looped table houses the post ID edit link supplied above that returns the editable form that ends up in a Blog Post template.

#1743755

Please elaborate the question with more details:

the problem is that the Edit form is returned inside of a Blog Post template rather than like the output of a Page.

If you are following our document to setup the content template and edit form link with shortcode [toolset-edit-post-link], the edit post form should display in single post, and replace the default post content.

Are you going to display the edit form in another page instead of single post?

#1757031

I'll redo it, but the shortcode link to edit post format I use above was given to me in a support team response from 3 years ago.

#1757227

The shortcode [cred_link_form] had already retired, replaced by shortcode [toolset-edit-post-link], see our document:
https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/
There isn't [cred_link_form] shortcode any more.

Please let me know if you need assistance to setup the shortcode [toolset-edit-post-link], thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.