Skip Navigation

[Resolved] Edit Form Toolset & Elementor

This support ticket is created 4 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 11 replies, has 2 voices.

Last updated by Minesh 4 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1798995

I have been ripping my hair out all day, searching for proper answers but nothing seems to work.

I have all my post types built with single post elementor templates.

I was able to establish front end forms for them no problem at all. I have done a lot of reading through the support forums and have tried a bunch of different options. Only one option that I have tried partially worked.

What worked was creating a content template for a form & getting the edit post link shortcode. I put that shortcode in the content template of one of my custom post types & was able to be brought to the edit page on the front end. The issue I am having is that it needs to be done for every cpt for it to display on each individual one. Is there a way to have it hardwritten in so it displays on every cpt automatically?

I was also wondering if there would be a way to hide the Post Content default field on the add new editor but leave it displayed on the front.

#1799835

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Based on the description you shared - it seems you are having trouble displaying the post edit form - correct?
- If yes:
Can you please share more details where exactly you added the edit link and what post type you want to edit and what edit form you created.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

\I have set the next reply to private which means only you and I have access to it.

#1801911

Hi, I was wondering if you had any updates regarding this matter

#1801919

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When I try to access the wp-admin - it ask me for another authorization password.

Can you please share that and I will check what I can do.

Also, It seems you forget to share the problem URL where you want to display the edit form. Please share problem URL where you want to display the edit form and what edit form you want to display.

I have set the next reply to private which means only you and I have access to it.

#1802751

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I tried to rename the plugins folder after loggin to the FTP and then try to login but when I try to login - it says:

Error: The password you entered for the username admin is incorrect. Lost your password?

Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#1804281

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see there are number of edit forms available. which form exactly you want to add and to what page?
=> hidden link

Do you want to add Edit form link or edit form itselt.

As you are using elementor - what if you try to use the following solution:
=> https://toolset.com/forums/topic/edit-form-not-working-on-single-page-created-in-elementor/#post-1358613

You just require to add the anchor link once rather adding to views.

#1805067

This was actually one of the solutions I looked at and anytime the post type author account would click on the edit link it would refresh the post type page with no means of edit. All the create forms have pages and work just fine. It is the edit ones that are giving me the issue. I need to do all the edit forms, but if I can get walked through one or a solution to get one, I can absolutely do the rest. I have been pulling my hair trying to figure this out.

#1805073

I just tried it again and get the message Form Type & Post Type Do Not Match when clicking edit

#1805191

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share the details where you try to add the Edit link and where you added the form and once you share this details let me try to fix the issue.

#1806665

I created a new page in elementor, tried using the toolset form and adding "Edit Artist/Band Page". then published the page & went into Views & added the link to the view. When I went and checked on Front end, it just refreshed the page. I am not sure what you mean by share teh details. I followed the steps in that link you provided and when it did not work, I removed the page and link from view.

#1808009

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Now, I could not able to access the FTP and as you know, without changing the plugin's directory to plugins.disable on your site I could not able to login.

Can you please send me working FTP access details so that I could able to login once I change your plugins folder or try to follow the following steps:

The steps are easy to follow but maybe you think its over complicated. You should just follow the basic things with the following steps.

What you should do is:
- Create new page (do not use elementor) and add the form within the post body:
For example:

[cred_form form='edit-product' post='[wpv-search-term param='myedit_id']']

Where:
- do not forget to change the form slug with your original form slug.

Then where you want to display the edit link, you should try to add the edit link as, for instance, you should add this link to your single post which you want to edit.

<a href="link-to-your-page/?myedit_id="[wpv-post-id]> Edit </a>

I would be happy to setup a demo for you but unfortunately FTP is not working at this end and without FTP I cant able to login to your site as I will require to change the plugins folder.

I have set the next reply to private which means only you and I have access to it.

#1810843

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've created the following new page:
=> hidden link

And added the following shortcode to it that will display the edit form:

[cred_form form='edit-artist-page' post='[wpv-search-term param='myedit_id']']

Then, I've edit the elementor template you created that displays the single Artist post:
=> hidden link
And added the Text Editor module just below the logo and added the following line of code to it:

<a href="edit-artist/?myedit_id=[wpv-post-id]"> Edit </a>

Now, if you visit the single artist page:
=> hidden link

You will see the Edit link just below the top logo and when you click on it, it will display the Edit form.

Can you please confirm it works as expected?