This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Validation Errors
#1

Hello,
I have run into a few validation errors i'm getting from Commentics, which maybe you could help shed some light on:

Code:
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css"/>

Code:
<link rel="stylesheet" type="text/css" href="http://dev.xxxxxxx.com/commentics/external/colorbox/colorbox.css"/>

Code:
<link rel="stylesheet" type="text/css" href="http://dev.xxxxxxx.com/commentics/css/default.css"/>

Code:
<object type="application/x-shockwave-flash" wmode="transparent" data="http://dev.xxxxxxx.com/commen…mentics/external/securimage/images/audio_icon.png" title="Audio" class="cmtx_securimage_audio_icon">

Any idea how I can correct these?

Thanks.
Reply
#2

The first three are likely to be because they're inside the <body> tag rather than the <head> tag. This is intentional and I'm aware that it's not strictly valid. The reason it's in the <body> tag is to make integration easier. The more places people have to integrate the script into the more difficult it becomes (this is known from experience). If 100% validation is important to you then you could copy those lines into your page's <head> tag and then remove them from /includes/template/head.php.

The last one is related to the Securimage captcha and it's because the "wmode" attribute isn't allowed in the <object> tag. This is how the Securimage captcha plugin is coded. I'm not sure of its purpose or whether it's really needed. Maybe try removing it or contact the Securimage developer for more information.

Have you completed the interview?
Reply
#3

Hi Steven,
Thank you for your reply as always. I guess I will just leave everything as/is. It's not that big of a deal. It would probably complicate updating to future versions if I moved the references to my head. My main concern was that everything is working properly.

Thanks again!
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
13-Aug-2010, 04:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)