• 0

javascript kills


Question

Posted · Report post

Hello,

 

We're trying to use a third party JavaScript to pull display client ratings on our PageLines website.

 

Javascript located at http://dev.milanohair.com/wp-includes/js/shortcuts.js

 

When we enable the JavaScript in the header our feature and quickslider stops working. The creators of the JavaScript claim there is nothing wrong with their application. 

 

Website : http://dev.milanohair.com/

 

Any help will be much appreciated.

 

Thank!

 

Andrew

Share this post


Link to post
Share on other sites

9 answers to this question

  • 0

Posted · Report post

Hi,

 

There may not be anything wrong with their product for it to conflict with a later or different version PageLines may use.

 

Thy adding this code to Dashboard > PageLines > Site Options > Custom Code to see if it fixes the slider issues:

#page #feature-area {
overflow: hidden;
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

added with same result :( no slider

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

One thing to try is to disable all non-pagelines plugins and see if the conflict is coming from a plugin vs JS. 

 

it is worth a try. if you do find something then re-enable the plugins one by one to see which plugin is the culprit. 

 

also if you can go to Pagelines > site options > advanced and enable Pagelines debug please we will take a look there 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Martin,

 

I disabled all the plugins and my slider is still not working - I have left it disabled at the moment.

 

Pagelines debug has been enabled :)

 

Last thing I need to complete before getting the site live.

 

Thanks,

 

Andrew

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Andrew, as long as you keep the conflicting javascript, there will be a problem with any section of PageLines or other plugins, seeking to use the default javascript we provide.

 

Remove the problematic javascript from your site. I'd recommend contacting the plugin author, or simply replacing the plugin that needs the erroneous code.

 

Unfortunately, we cannot re-write the code of a third-party product, nor re-write our javascript to accommodate every plugin that doesn't use the latest code used by WordPress (which is what we're using).

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Rob I have a question about javascript error on the site of my client, please see below:

 

TypeError: Cannot set property 'w' of undefined
#11 http://impacto-web.es/i/wp-content/themes/dms/js/script.resize.js?ver=1.1.4:9:68
#10 http://impacto-web.es/i/wp-content/themes/dms/js/script.resize.js?ver=1.1.4:9:550 m()
#9 http://impacto-web.es/i/wp-includes/js/jquery/jquery.js?ver=1.10.2:4:14129 x.event.dispatch()

 

...

 

I use dms version 1.1.4 and base theme for this template.

I think this error make some other parts of the website no work properly.

 

Do you have any idea?

Thanks!

 

 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

mundocaco DMS when installed without any third party custom scripts/code or plugins has no such error. Therefore, its most likely you have a plugin causing this error. I recommend you remove all custom code/scripts you may have added and disable all active plugins except for DMS Pro Tools and see if this resolves your error.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Danny I'll do this! thank a lot. :)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem, keep us posted.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now