- Posts: 58
COMMUNITY FORUM
Multiple !Doctype, head and body tags.
- Timothy Michel
-
Topic Author
- Offline
- Senior Member
Less
More
10 years 10 months ago #131607
by Timothy Michel
Multiple !Doctype, head and body tags. was created by Timothy Michel
I am using the JCE Editor, latest 2.4.2 and K2 2.6.8
Every article get a header like the following:
I didn't notice this until I was installing a social media component and in the final step of performing a parsing error check it reported that there were multiple html, head and body tags.
Index.php inserts the proper !Doctype, and the html, head and body tags, I don't need it done again anywhere. I looked in the JCE configuration and I see nothing that would insert a header at the top of the articles (I have the JCE template manager installed, but there are no templates defined as of yet.), if I edit in Source view and delete !Doctype, html head and body and the closing tags at the bottom of the article and "Save and Close" when I open the article for editing again, the header section is back at the top of the item/article.
What do I have to do to stop this behavior?
Every article get a header like the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body>
I didn't notice this until I was installing a social media component and in the final step of performing a parsing error check it reported that there were multiple html, head and body tags.
Index.php inserts the proper !Doctype, and the html, head and body tags, I don't need it done again anywhere. I looked in the JCE configuration and I see nothing that would insert a header at the top of the articles (I have the JCE template manager installed, but there are no templates defined as of yet.), if I edit in Source view and delete !Doctype, html head and body and the closing tags at the bottom of the article and "Save and Close" when I open the article for editing again, the header section is back at the top of the item/article.
What do I have to do to stop this behavior?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 10 months ago #131608
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Multiple !Doctype, head and body tags.
Unfortunately this is a JCE related error and you should contact the extension's developer.
Please Log in or Create an account to join the conversation.
- Timothy Michel
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 58
10 years 10 months ago #131609
by Timothy Michel
Replied by Timothy Michel on topic Re: Multiple !Doctype, head and body tags.
Thanks Krikor, I didn't see anything in the JCE settings so I assumed it was the K2 article manager that was at fault. I will post this on the JCE forum.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 10 months ago #131610
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Multiple !Doctype, head and body tags.
Timothy please paste the solution (or simply a link) once you have found it so other users might benefir as well.
Thanks
Thanks
Please Log in or Create an account to join the conversation.