I have a local version of site I’m building at it works fine when I generate .RSS and .CSS files, setting the Content Type to the right type. However, on a remote version of the site which is being used by my client for testing MODx is doing 2 weird things:
1. Sometimes when I view the Document Type of a Document it has been reset back to HTML.
2. All files created contain the following around my code therefore causing the files to be invalid markup....
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "
http://www.w3.org/TR/REC-html40/loose.dtd">
<?xml version="1.0" encoding="ISO-8859-1" ?>
<html>
<body>
<***** MY CONTENT ******/>
</BODY></HTML>
The only time it doesn’t do this is if I make the Resource Content empty, which suggests that as soon as it sees any Resource Content it tags it in HTML doctypes and body tags.
Has anyone else had similar problems? I’m on ModX Revolution 2.0.0-pl rev7212
Thanks in advance.
Chris