Hi Austin,
Thank you for starting a new ticket.
To show the editing form, when the "Business Directory Template" from the Elementor is in use, you can follow these steps:
1. At the bottom of the template, you can include a new section with custom class "edit-form-section" and then include a "Post Content" block in it.
( screenshot: hidden link )
2. After that, when you'll use the "Edit Listing" link from the right column, you'll be redirected to the same post's link, but with the edit, form showing at the bottom:
( example: hidden link )
3. To hide the first two sections when the editing form is showing, you can include the following custom CSS code in your content template "Editing Listing Template":
( screenshot: hidden link )
.elementor-inner .elementor-section-wrap section {
display: none !important;
}
.elementor-inner .elementor-section-wrap section.edit-form-section {
display: block !important;
}
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
Hi Waqar,
Thank you so much here - I've finally got this working. I set this up a little bit differently here, removing the sidebar edit link and instead using a View 'My Listings' with an Edit post link.
I regularly work on Elementor / Toolset sites and am likely to have this same issue in the future. Can I get a bit more info to help me avoid this in the future? While this is now working, this still feels like such as complicated and un-intuitive way to set this up.
Is the main issue here that the edit post link needs the Page Content to be built into the template?
Is there any way I can look at setting this up in the early stages so I can avoid and simply use the built in Toolset Edit Post shortcode?
I'm guessing this wouldn't be an issue if I'm using the Toolset Layouts to display content, and that by using Elementor templates to display the post content I essentially lose the ability to use the built in Edit Post Toolset Shortcode?
Assuming this doesn't happen if I use Toolset Layouts right? Is there anyway that Toolset can potentially improve the Elementor integration / support? Though overall this integration is amazing and works really well, it really felt like this area the integration with Elementor didn't work well and breaks some important Toolset functionality.
Hi Austin,
Thanks for the update and glad that it works.
> Is the main issue here that the edit post link needs the Page Content to be built into the template?
Your understanding is correct and as Nigel mentioned in his reply ( ref: https://toolset.com/forums/topic/edit-listing-link-cant-get-to-work/#post-1501833 ), the edit forms work by intercepting and replacing the post body/content on the front-end.
A situation like this won't be faced, if:
- you're using Toolset's Content Template
or
- you're using Toolset's Layout
or
- you're using a content template from a third-party page builder like Elementor, but with a cell/widget that shows post body/content
So I'm sure you'll agree that in most cases, a content template is likely to include post body/content. And even for the cases where it is not used/needed, including it for the editing form, as we did in this template, won't have any drawback or side-effects.
You'll find the recommendations around using Toolset and Elementor together at this guide:
https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/
We're also constantly improving our plugins and their integration with other popular plugins, based on the feedback and suggestions that we receive from our users.
You're welcome to use our feature request form to share specific functionality(s) that could make Toolset even more useful:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
I hope this clarifies and for a new question/concern, please open a new ticket.
regards,
Waqar
My issue is resolved now. Thank you!