Change DOCTYPE (XHTML)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Arkanis
Posts: 26
Joined: Sun 27. Mar 2005, 23:20
Location: Winterthur, CH

Change DOCTYPE (XHTML)

Post 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)
Arkanis
Posts: 26
Joined: Sun 27. Mar 2005, 23:20
Location: Winterthur, CH

Post by Arkanis »

I found it by myself,

Someone can close the thread (if they want ;) )
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

Maybe you post your answer so that others interested in that can benefit! :wink:
Arkanis
Posts: 26
Joined: Sun 27. Mar 2005, 23:20
Location: Winterthur, CH

Post by Arkanis »

o ;)

You can find all DOCTYPE, HTML header et. things in index.php.
They are in an array.
Arkanis
Posts: 26
Joined: Sun 27. Mar 2005, 23:20
Location: Winterthur, CH

Post 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.
nosmile
Posts: 19
Joined: Mon 25. Oct 2004, 17:08
Location: Poland

xhtml

Post 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.
Post Reply