Skip Navigation

[Resolved] Edit form link in an elementor page builder page

This support ticket is created 5 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 6 replies, has 3 voices.

Last updated by Nigel 3 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#1195227

Tell us what you are trying to do?

I want to include an edit form link on a page built in elementor.

Is there any documentation that you are following?

https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

Is there a similar example that we can see?

per above

What is the link to your site?

hidden link

#1195277

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Rudi

You want to include an edit form link on a page built with Elementor.

What does the form edit? What is the page where you add the link?

Ignoring Elementor for a moment, if you created a form to edit a custom post you would typically display the link to edit that post next to the post itself (e.g. when viewing a single post it includes a link to edit it, or when viewing a list of such posts, each of them includes a link to edit themselves).

In these cases it is clear what is being edited (which is set by the context of of where the link is displayed, i.e. the thing to be edited).

If the context doesn't specify what is to be edited, then you must explicitly set which post is to be edited by the form.

So, when I ask what are you editing and where are you adding the link, that is why.

If I assume that you have a typical set-up, and that the "page" designed with Elementor is not a WordPress page but is instead an Elementor template for single posts of some type, then you need to

- create the Edit form
- insert this form into a Content Template (which is not assigned to anything, it just acts as a container for the form)
- edit some page *without* Elementor and insert the edit post link shortcode using the Toolset Forms button which will generate a shortcode something like

[toolset-edit-post-link content_template_slug='container-for-edit-thing-form' target='self']Edit %%POST_TITLE%%[/toolset-edit-post-link]

- cut and paste this shortcode into a text or shortcode module in your Elementor template

You could also just type the shortcode in manually.

The problem is that we have no control over the Elementor UI, so the Toolset Forms button is unavailable within the Elementor editor.

#1196411

Thanks! that works very well.

I am using the Access module to control usage of this form above - we only what the edit form to be used by a logged on user.
The link only shows if I am logged in.
How could I always show the link, but rather than going to the Edit form that it first shows a login form then goes to the edit form?

Also once they edit the form - we change the owner to them?

#1197105

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I split off the follow-up questions in to their own threads and answered them individually.

I think we can close this original thread?

#1197510

My issue is resolved now. Thank you!

#1870481

Hi, I have the same difficulty.

When I add the shortcode, the link on my page appear but when I click on this link, the page refresh and the "edit module" don't appears (I had follow all the steps to create the "edit module" and without Elementor the module appears correctly).
But in the URL appear "?content-template-id=499" at the bottom of the post url.

I know the Toolset Team don't have control on the Elementor plugin, but there is a solution that I can use to solve this problem?

Thanks

#1870531

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

@zenariM please create a new forum thread and someone will help you there.