17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2230 Views |
-
changing/removing the DOCTYPE?

9 July 2008 at 3:34pm
how do I change or remove the DOCKTYPE?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -
Re: changing/removing the DOCTYPE?

9 July 2008 at 3:53pm
Hey there, just change it in the main template (.SS) files.
-
Re: changing/removing the DOCTYPE?

9 July 2008 at 4:32pm
.. which is located in themes/yourtheme/templates/Page.ss for more information about doctypes check out http://doc.silverstripe.com/doku.php?id=html
-
Re: changing/removing the DOCTYPE?

9 July 2008 at 5:13pm Last edited: 9 July 2008 5:13pm
done that
this is what I get with telnet
"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<X3D profile="Immersive" version="3.2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.2.xsd">
"
this is what my page.ss has
"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "http://www.web3d.org/specifications/x3d-3.2.dtd">
<X3D profile="Immersive" version="3.2" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.2.xsd">
" -
Re: changing/removing the DOCTYPE?

9 July 2008 at 5:16pm
You might need to turn ContentNegotiator off -
| 2230 Views | ||
|
Page:
1
|
Go to Top |



