Jump to content

Archived

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

jamieg270

Modernizr problem

Recommended Posts

jamieg270+    13
jamieg270

I was using the DMS Pro Tools patch and the Modernizr plugin/acript to get IE8 and IE9 to present DMS based sites correctly. This was working successfully, bar a few elements that I could make some conditional styles for.

 

I've just noticed on the last two sites I've updated to the latest version of DMS that this no longer works. I know the Modernizr script hasn't been changed so I assume something with DMS has changed to render these non-functional.

 

http:/www.guinnessfunds.com

http:/www.tcii.co.uk/bypass   (this is behind a 'under maintenance' screen right now, you'll need to use the 'bypass' in the URL to get past it)

 

Any idea what might be stopping the script from running correctly? Normally it would allow older browsers to use HTML5 and CSS3 tags/selectors, at the moment its as if the script isn't even running/loading...

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Hello jamieg270

 

Have you tried disabling the plugins to see if anything installed is affecting this? 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
jamieg270+    13
jamieg270

No joy. I tried that already.

 

The weird thing is that initially all looks good, the styling seems to be rendering, but its simply a brief flash of the properly rendered page before reverting. Some of the default DMS styling displays, but none of the LESS from the child theme, no @media or Icon fonts etc. Previously these generally worked well with the hack in the Professional plugin in combination with the Modernizr script to get support for HTML 5 tags and CSS3, I could get the page looking pretty much identical to the IE10/11 rendering minus some of the transitions and some details that will never be supported even with javascript hacks.

 

I've got to go to a meeting now, but I will try and record a Jing video later so you can see what I mean.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Thanks, the Jing video would be great. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
jamieg270+    13
jamieg270

Hi Martin,

 

Jing video link: http://screencast.com/t/VcR3ruRZE

 

First I show the page rendered in IE8. I reload the page in IE8 a few times so that you can see on occasion the html 5 and CSS3 does render briefly but then reverts back. The rendering isn't perfect, however if I could get it to render consistently like that I could add conditional CSS to fix it.

 

It renders almost the same in IE9 however the icon fonts load as they are supported natively by IE9.

 

I then show how it should render in a normal Chrome tab, and then show I have the Modernizr plugin installed and the patch activated in Pro Tools. I tried using the Modernizr script direct rather than using the Plugin, however the site behaved in exactly the same way.

 

This setup worked perfectly in DMS 1 (at least 1.1.8 using Pro Tools plugin 1.6.2  I still have some client sites using the older DMS and the Modernizr script which are working fine right now)), I'm not sure when it broke, I only noticed it on these two sites where I have updated straight to 2.1.1... and began my final testing...

 

Any light you can shine on this would be greatly appreciated!

 

Thanks,

 

Jamie

Share this post


Link to post
Share on other sites
jamieg270+    13
jamieg270

Hi Martin Davies,

 

Did you get the chance to look at this again?

 

Thanks...

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Could you try disabling none PageLines plugins for us. Just to rule out a plugin conflict. 

 

I will take a further look when you get back to us. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
jamieg270+    13
jamieg270

Martin Davies

 

Shall we leave that for Monday now? I can do it now, but I'm sure you've got better things to do at this time on a Friday evening!

Share this post


Link to post
Share on other sites
jamieg270+    13
jamieg270

Martin Davies

 

My client wouldn't give me permission to disable all plugins on the tcii.co.uk site to allow a test. So instead I set up a local copy and test that instead.

 

I've now had the chance to research this in more detail on that copy of the site. The culprit plugin is ironically DMS Professional Tools. 

 

When this plugin is activated (with all other plugins deactivated other than Pagelines Updater) with either the Modernizr or HTML5Shiv scripts (both popular scripts for providing HTML5/CSS3 support to older browsers) loading, most if not all of your custom LESS in the child theme does not get applied in IE9 or below. Icon fonts are not loaded and applied correctly either. This happens whatever checkboxes are checked or not checked in the DMS Professional Tools plugin. The plugin only needs to be active to cause the problem.

 

When I deactivate the DMS Pagelines Professional Tools plugin, all the features of these scripts then work in IE9 or below. 

 

I am certain this problem is not to do with the DMS Professional Tools plugin itself but its use with DMS 2. I have several DMS 1.1.8 sites still running all using the DMS Professional Tools 1.6.2 all of which work perfectly with the Modernizr script. Such as this site: http://www.theintuitivecounsellor.com. 

 

So it seems it is an interplay between DMS2 and the DMS Professional Tools plugin.

 

Ideally I would like to keep some of the other features of the DMS Professional Tools plugin and use it with the Modernizr or Html5Shiv scripts, IE9 and 8 still hold significant share of the browser market (30% between them according to netmarketshare.com).

 

Any chance the root of the problem might be tracked down and fixed? 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

There shouldn't as far as I am aware be any conflict with DMS 2 and DMS Pro Tools plugin, as its the actually plugin that loads the compatibility scripts and not DMS2. I will speak to our developers and see what they suggest.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jamieg270+    13
jamieg270

Thanks Danny,

 

I appreciate it.

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? 

×