Skip Navigation

[Resolved] AJAX Slider fnction with Enfold Theme not working

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.

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
- 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 2 voices.

Last updated by Nigel 5 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#1191927
screenshot3.jpg
screenshot2.jpg
screenshot1.png

I made a Toolset Slider View that pulls the title and the date from all posts in the category headlines (Screenshot1)

With the Enfold Them the view is displayed ( yellow Square) but it is not automatically sliding (Screennshot2) , if I change the theme ( WPOcean) it works fine (see Screenshot 3)

It looks like Enfold Theme is not loading the Toolset fields properly for exemple those are missing on the page , when I switch themes I can see them in the source code

<script type=’text/javascript’ src=’hidden link;
<script type=’text/javascript’ src=’hidden link;

I am aware that there are issues between Enfold and Toolset, but since there is no error in the Browser console I was hoping that you guys could point me to the solution, i am surely not the first one encountering this.

Thanks a lot for your input

Peter

#1192022

Nigel
Supporter

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

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

Hi Peter

I tested this locally with a copy of Enfold and found the same, that Views scripts and stylesheets are not added to the page.

It doesn't seem to affect *all* 3rd-party assets, however, as I was able to enqueue a custom CSS stylesheet I made for testing and it *was* included on the page, so Enfold doesn't appear to be universally blocking 3rd party assets.

I've passed my findings on to my colleagues so they can investigate further, and I'll get back to you with their feedback.

#1192665

Hi Nigel, thanx for your feedback, I also contacted the Enfold-Team but they referred me to you guys.

#1192936

Nigel
Supporter

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

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

Hi Peter

I don't mean to pass the buck, but my colleagues found that Enfold dequeues *our* scripts and styles. We don't know why, but they need not to. We are contacting them with our findings.

We have added an erratum about the issue which you can keep an eye on, but it appears to be on them: https://toolset.com/errata/views-slider-does-not-work-when-the-enfold-theme-is-active/

There isn't anything else I can do from this end, I'm afraid.

#1192956

Hi Nigel, copy that, yes me too I think the problem/ call for action is with Enfold, I will follow up my Ticket with them maybe together we can make this work.
Best regards and thanks for the support
Peter

#1195244

Hi Nigel,
This is the answer from Enfold Support team:

Thanks for the update.

The theme doesn't interfere, at least not directly, with any of those scripts but it is possible that the scripts they depend on such as "jquery migrate" are being disabled. Please ask the plugin author for script name and the list of dependencies it relies on.

// https://developer.wordpress.org/reference/functions/wp_register_script/

Best regards,
Ismael

Post Link: hidden link

#1199163

Nigel
Supporter

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

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

Hi Peter

Just a quick update to say that the Enfold authors have not been responding to our emails, which is the same situation we have found ourselves in previously with compatibility issues with that theme, and we have exhausted our efforts from our side and the issue has been marked as obsolete.

They are deregistering the WP core script wp-mediaelement, which then breaks the enqueuing of Views assets.

(They have only been doing it since version 4.9 of WordPress, so this would probably not have been an issue before.)