I am not trying to submit a request for support as much as inquire about what may be a possible bug or incompatibility when using Toolset with Elementor.
I understand from your documentation that, when using Elementor to create a page template, a Toolset content template should not be selected. That is NOT my issue or question, so please don't refer me to that answer. Your documentation covers that scenario.
My question has to do with using Toolset to create a Content Template *rather than Elementor*. When I do this, Elementor pop ups loaded into the page via other components (e.g. an Elementor header or footer) - and quite unrelated to the Content Template - do not fire ( do not open).
For example, I have a button in my Elementor-built header that opens a pop up. This pop up works everywhere on the site except on posts being displayed by a Toolset Content Template. If I switch the post to have no template (the wp default single.php template) the Elementor pop up - in the header - works fine, as it does on every other page.
Let me emphasize: in my example the Elementor pop up in the header has nothing to do with the Toolset Content Template. I am NOT attempting to use an Elementor pop up within a TS Content Template, nor build a header with a TS Content Template.
The Elementor header itself loads fine. The footer loads fine. Just the pop up within *the header* does not fire if a TS Content Template is being used for *the body* of the page.
Yes, I can simply use Elementor to create my CPT single.php template instead of Toolset, and the pop up in the header will work fine. That is what I intend to do. I am simply asking if this is a known issue, if you're able to recreate/confirm it as an issue, if there are any plans to resolve.
Thanks
Elementor cannot be used to create Content Templates, hence it would be always the chosen way to use Toolset to create a Content Template *rather than Elementor*. There is no exception to this since Elementor cannot edit Content Templates.
On the step "When I do this, Elementor pop ups loaded into the page via other components (e.g. an Elementor header or footer) - and quite unrelated to the Content Template - do not fire ( do not open)." - I do not understand what you mean.
I understand you create a Content Template and assign it to some posts.
But, on those posts, you also load Elementor Templates (headers, footers, etc) and that is exactly opposite of what we suggest, which is to style the page/post with Elementor and in there, include Toolset elements.
Maybe I misunderstand your process at this point?
It's as stated by the Documentation not possible styling Posts with Content Templates and loading Elementor things with/around it, instead, the post should be designed with Elementor and then inside that, you can include Toolset things.
It is bringing a range of issues with itself to design the post with a content template when using Elementor, and hence, instead, you should design the post with Elementor and include Toolset things in it, to avoid issues.
This is explained here https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/create-templates-for-custom-post-types-with-elementor-and-toolset/#limitations-when-using-elementor-and-toolset-templates-together
Due to this, you should always use a Elementor Template for your posts when using it with Toolset:
https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/create-templates-for-custom-post-types-with-elementor-and-toolset/#how-to-create-an-elementor-template
But I agree on the core issue being missed on our DOC, we only elaborate on the case of assigning 2 templates or using an Elementor Template within a Content Template in the loop.
We never mention that other things, like loaded by header or footer templates, if a Content Template is used instead, may fail.
I strongly suspect this is just another aberration of the same core cause, but would like to confirm it with the Developers as well as colleagues first.
Do you have a simple test site of which you can send me a copy of (https://toolset.com/faq/provide-supporters-copy-site/) that features such pop ups breaking when a CT is used in the post?
Or, can you help me with the steps needed to generate this scenario so I can discuss it internally?
So based on your response I think you understood my question but now I need to ask for clarification:
I agree, Elementor can not be used to create Toolset Content Templates. Elementor can be used however to create custom post templates which effectively do the same thing (as you already know). Users must choose to use one or the other when building a single.php layout for their Toolset custom post types. My question has to do with when a user chooses to use Toolset Content Templates rather than elementor. In these cases, the body of the post/page will be displayed by TS's content template and not Elementor. However, that post/page very likely has a header and footer, and these can be created by Elementor (overriding the theme header/footer). These can contain Elementor "pop ups" (i.e. modals).
When a TS Content Template is in use for a custom post, and the Elementor-built header or footer contains an Elementor pop up, the pop up will not fire, even though it functions normally everywhere else on the site. It appears there is a conflict between TS Content Templates and Elementor pop ups being loaded onto the page (there are several ways they can be loaded onto the page. Via headers and footers is just one example).
Steps to recreate:
1. create a CPT with Toolset
2. create a single.php content template for it using Toolset.
3. create a header using Elementor and add a pop up to it
4. assign the header to display site wide
5. view the CPT single.php on the front end and attempt to open the pop up in the header. In my case pop up will not open.
6. deactivate the Toolset single.php content template on a post, and use the native wordpress single.php or an Elementor-built single.php and retry the pop up in the header. In my case it will open.
From your reply, I think you are saying "if Elementor is being used anywhere on the site, simply do not do Step #2, and instead use Elementor or WordPress native single.php". Is that correct?
In my experience there is no incompatibility with using Toolset to create the single.php and using Elementor in general on the site - except if there are pop ups being loaded on the page by Elementor.
The main issue is, Content Templates should not be assigned to posts, as they aren't expected to be used like that when having Elementor installed along Toolset.
The Documentation elaborates on this here https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/create-templates-for-custom-post-types-with-elementor-and-toolset/#how-to-create-an-elementor-template
Assigning a CT to a post while loading other Elementor things may or may not work, and the suggested workflow neglects to use CT's because of that, they are not intended to be used in this way (in this scenario).
The scenario you describe is admittedly a powerful usage, however, it's falling within "assigning a CT to a post while using Elementor" and that is not suggested, hence we cannot see or solve this as a BUG, as it's known to cause issues.
And it's true that it works, but since it's not intentionally described on the DOC or in the GUI I cannot support this as the suggested approach. I hope I can explain well what I mean, please let me know if anything is unclear.
So far I was able to show together with a CT and Elementor heading, however, how do I add a PopUp?
I have Elementor and Elementor PRO, but I cannot find the "pop up" in the widgets to design my header.
Do I need this AddOn for this?
hidden link
Note that this AddOn is not incorporated in Elementor and hence, not officially "supported" by Toolset in terms of compatibility, this does not mean we will not try to analyse and eventually solve this issue or add in a feature request to create a compatibility layer.
If I need that plugin, could you confirm and eventually provide me with a copy of?
I've enabled a private reply to that.
Pop ups are now built into Elementor. Its not an add in, not a separate plugin, and is not a widget. They're considered a type of template inside Elementor.
Any element (e.g. button) can become a trigger for a pop up.
See the very bottom of this article: Control Popup Via Manual Triggering
hidden link
Thanks for taking time to consider my question. I think I will mark as closed since my goal was to simply raise the question. I simply wont use CT's.
Thank you for this additional information.
I was able to see the issue where Elementor PopUp Templates are not working when the same post has a Content Template assigned.
I simply assigned a PopUp Template to anywhere in the site on click, and that works on any location that has no Content Template but not on locations with the Content Template assigned.
Now, I cannot change the previously elaborated situation about the general suggestion of not using Content Templates assigned to Post Types when using/hooking in Elementor Templates, but I'll raise this internally so we can (the least) update the Documentation about this exception, which I was not aware of either. It makes sense to happen given the restrictions, but it should be (at least) mentioned.
For this purpose and eventual more work, I'll escalate this ticket
This will not be changed, for now, please follow https://toolset.com/errata/elementor-library-widget-content-does-not-appear-on-the-front-end-for-posts-using-a-content-template/
I suggest submitting a new request to https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/ if you require deeper integration within Elementor and Toolset. This will, for now, remain as it is described in the erratum.
Thank you for understanding!