Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
<title>Untitled document</title>
</head>
</__body>
<__body>
</__html>
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
<title>Untitled document</title>
</head>
</__body>
<__body>
</__html>
Code: Select all
<!-- Add code here that should appear in the content block of all new pages -->
Mine says . So I don't know why every time I add a new page there's a header and footer.wishbone wrote: I've never seen that in any of my installs, but check under "Site Admin" -> "Page Defaults"
There is a section called "Content" that contains page defaults.. Mine says:
Code: Select all
<!-- Add code here that should appear in the content block of all new pages -->
You clearly are not following what the problem is and I would appreciate you removing your post because you're going to throw everyone off.Peciura wrote: It is in you page templates "Layout » Templates » TEMPALATE"
If you want to remove it read this page first http://www.w3schools.com/tags/tag_doctype.aspIf you still want to build web pages with CMSms you would better keep it.The doctype declaration should be the very first thing in an HTML document, before the tag.
Above and beyond, really? I've written applications that 1000's of people use that are not web based and provided help to users far beyond this thread. I didn't mean to offend anyone if that's how you or they feel.jmcgin51 wrote: Actually, everyone who has responded to you is going above and beyond the call, since you have provided very little information about your problem.
I would suggest you start here: http://forum.cmsmadesimple.org/index.ph ... 661.0.html
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
<title>Untitled document</title>
</head>
</__body><!-- my template starts here -->
<!-- title h1 h2 menus etc and everything else before the side content -->
<!-- Start Side Block -->
**** This is where I have a global content block. ***
<div id="sidebar">
<class="hascontent">
**** HERE IS WHERE ANOTHER DOCTYPE, HTML,TITLE,BODY OCCUR ****
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html>
<head>
<title>Untitled document</title>
</head>
</__body>
<div class="ccbox" style="text-align: center;">
<h4 style="text-align: center;">Only The Good Stuff!</h4>
<ul style="color: #504b44; font-size: 90%; font-weight: 600; text-align: center; list-style: none; margin: 0; padding: 0px 0px 10px 0px;">
<li style="padding-top: 5px;">Real Fruit Juice</li>
<li style="padding-top: 5px;">Naturally Sweetened with<br />Stevia and Xylitol</li>
<li style="padding-top: 5px;">Low Calorie</li>
<li style="padding-top: 5px;">No Added Sugar</li>
</ul>
</div>
<__body>
</__html>
**** Then we go into the main body content, which contains another doctype, head, body ****
<div id="main"> etc etc etc
<__body>
</__html>
I did turn it off and that's where I noticed the extra tags. However if I create a new page the tags are in there. So I want to be able to create a tag or global content block without those tags, but I'm not sure where they're coming from. They're not coming from the defaults, but since you mentioned WYSIWYG I'm going to looke at TinyMCE and see if it is adding those extra tags for some reason.Peciura wrote: Have you tried to turn WYSIWYG off ? Give link to a page.
I did, but it must have happened during an upgrade because it wasn't originally happening. I'm digging in to different parts to see if I can narrow it down.ironblaze94 wrote: Did you upload CMSMS via FTP?