Page 1 of 1
Change DOCTYPE (XHTML)
Posted: Sun 27. Mar 2005, 23:25
by Arkanis
Greetings, i'm new to phpwcms.
I'd like to write a xhtml (strict) or at least tranistional website with phpwcms.
My problem is, I cannot change (or I don't know where) the DOCTYPE to XHTML.
How can I achieve this?
And does phpwcms write XHTML-code? (i have searched the forum but I still dont know if phpwcms now supports XHTML-code)
Posted: Mon 28. Mar 2005, 11:50
by Arkanis
I found it by myself,
Someone can close the thread (if they want

)
Posted: Mon 28. Mar 2005, 12:33
by spirelli
Maybe you post your answer so that others interested in that can benefit!

Posted: Mon 28. Mar 2005, 23:17
by Arkanis
o
You can find all DOCTYPE, HTML header et. things in index.php.
They are in an array.
Posted: Sun 24. Apr 2005, 18:40
by Arkanis
Hello again
Time to reactivate this thread
My questions:
How much work is it to create an XHTML-valid page with phpwcms. Assumed there are only users who are able to write XHTML-valid code and WYSIWIG is disabled.
So with "valid" I mean a design without those spacer-gifs, too.
And:
is it planned to let phpwcms write clean valid xhtml-code. that would be great.
For me, more important than some nice features like a news script or such.
xhtml
Posted: Wed 27. Apr 2005, 12:38
by nosmile
hi there.
My little observations
How much work is it to create an XHTML-valid page with phpwcms.
A little. You have to hardcode littlebit as there are some places without "/>" or something like that - mainly images.
Basically you have to prepare a valid template and stick to css.
So with "valid" I mean a design without those spacer-gifs, too.
I think it's a different story - it depends if you are planning to use "content types" - they're predefined and prepared already - often with "leers" (leer.gif) So you have to be really tough, and instead of using different content types - just code by yourself, and use "plain html" as a content type.
But... this way it's almost not a cms anymore

.
Kidding.
And it's possible to minimize use of tables.
Currently I am experimenting with Xhtml 1.0 transitional - and I'd say phpwcms 1.2.1 is almost ready for it.
Good thing - phpwcms is almost entirely css driven.