Jump to content

Archived

This topic is now archived and is closed to further replies.

dreamsight

Easy Video Suite embed code breaks Pagelines

Recommended Posts

dreamsight
<script type="text/javascript" src="http://proactive.evsuite.com/player/Q0ZSLUFuc2ZvcmQtQWNhZGVteS5tcDQ=/?responsive=1&autoResponsive=1&profile=website-widget&container=evp-FRPKDEFYKM"></script><div id="evp-FRPKDEFYKM" data-role="evp-video" data-evp-id="Q0ZSLUFuc2ZvcmQtQWNhZGVteS5tcDQ="></div>

When I add this code I lose all functions in the DMS editor. The editor shows, but nothing is selected when I click the 'edit' icon.

I've tried adding in the Content Loop, with PLNextBox and using Allow Javascript in Text Widgets plugin.

 

Because the EVS code works in Wordpress without Pagelines they've told me to come back to you.

 

This page has the code in a PLNextBox under the Media Box on the left. http://www.countyflatroofing.co.uk/wordpress/light-weight-paving-slabs/

I can't delete the  PLNextBox because the code stops the DMS editor working.

 

I can DM you a login if required.

Thanks

Share this post


Link to post
Share on other sites
dreamsight

Any ideas?

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Try enqueueing the script instead of adding it to a section. Does it work if you add it to a Page via the Page content editor ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dreamsight

No, it didn't work when I added it to a Page via the Page content editor

Share this post


Link to post
Share on other sites
Danny

OK, you're going to need to enqueue the script using the WordPress function, if that still doesn't work. Then it may be that the scripts are not compatible with DMS. 

 

Also, does this work when the DMS editor is disabled? 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

OK, then the issue is with the scripts used to create the DMS editor and the script you're using. As it works when the DMS editor is disabled. Therefore, the best course of action is for you to enqueue the script via the enqueue function in a child theme. This way, if the DMS editor doesn't load due to the conflict, you can simply comment out the script for the time being, whilst you continue working on your site.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

At the moment the only method is to create a new page and then recreate your template from that page that has the issue from scratch. However, there will be an update that as far as I know includes an easier method of removing sections when they nuke your site. Although, it is still be tested to my knowledge and therefore, there is no ETA.

 

Also, this is the exact reason as to why I always enqueue scripts unless its something simple like Google Analytics.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×