W3C - Validate

Use GitHub to post feature requests for phpwcms.
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

xhtml!

Post by ionrock »

Please post a patch as soon as possible for making phpwcms xhtml compliant. This would be really great. Thanks to those working on it and three cheers for making the best cms standards compliant :)
meneceo
Posts: 6
Joined: Thu 19. Feb 2004, 10:57
Location: Italy

Post by meneceo »

http://www.mastermelzo.it/

I am building this small site with phpWCMS. The output is valid Xhtml 1 (transitional), I sent the files to Olivier: I think he is checking if all is okay.

@Olivier
Please note that in the files I sent to you there are some "bad" tags yet... I forgot that in xhml you can't write onClick or onMouseOver, but you have to write onclick and onmouseover. The background image (if set) should also be inserted in a style="background-image: url(blahblah)" parameter (just extend the "hack" I put in front.func.inc.php).

If you want, I can obviously send the corrected pack to you... :wink:
Non timeo adversa
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

@meneceo

Nice work. I'm glad to see results with phpwcms :)

You can send patched files again via email. I will release it on weekend.

Regards
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
gent
Posts: 163
Joined: Tue 16. Dec 2003, 13:51
Location: Berlin

Post by gent »

sounds very nice, so i dont try to do the same work with HTML4.
i just wait for the next release ...
thanks again for the very nice work here.
User avatar
Fulvio Romanin
Posts: 394
Joined: Thu 4. Dec 2003, 11:12
Location: Udine, Italy
Contact:

Post by Fulvio Romanin »

wow
a new release this weekend too :)

wonder which other improvement there will be.... (wink wink nudge nudge) :)
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

me too :roll:
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Fulvio Romanin
Posts: 394
Joined: Thu 4. Dec 2003, 11:12
Location: Udine, Italy
Contact:

Post by Fulvio Romanin »

:lol:
gent
Posts: 163
Joined: Tue 16. Dec 2003, 13:51
Location: Berlin

Post by gent »

any news about XHTML ?
the last release-update use a " HTML 4.01 Transitional"-doctype
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

When inserting images via spaw images miss the ALT="" tag howto fix it? anyone who knew that?
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Normally, the ALT-Tag is not intended just to be empty, but to provide people that have graphics turned off in their browser or who can't see (blind people, ever heard of barrier-free web sites?) with information about what the picture shows.

That's why I think that this is a task for the developers of SPAW to include the function to add suggestive ALT-attributes to images.

But I think you are not so much interested in such philosophical questions than in an answer to your question ;).

I have not tested it, but I think the solution can be found in include/inc_ext/spaw/dialogs/img.php

Search after the function okClick with the line

Code: Select all

iProps.alt = (img_prop.calt.value)?(img_prop.calt.value):'';
As I said, I haven't looked deeply in the code, but this line seems to do what is asked by you. Why it doesn't work: I don't know.

Anyway I think the solution can be found in this file somewhere...
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

i've validate the whole null212.de site - what a f**cking work. every spacer has no alt tag defined, the body topmargins aren't excisting in correct html and so on.
my only advice i could give to you is to go through every line which is declared form the validator.w3c.org

if you'll need to know where some things are, post with a detailled explanation, i'll perhaps know the answer
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

well I do not know what release you are using but there was no problem in getting my site validated...I had some problem with my template getting valid but it had nothing to do with phpwcms frontend which is w3c html 4.01 valid...
http://www.studmed.dk Portal for doctors and medical students in Denmark
gent
Posts: 163
Joined: Tue 16. Dec 2003, 13:51
Location: Berlin

Post by gent »

u have to disable the topmargins at the admin-layout-section , and have to add the "margin"-tag to your body-section at the css. this will work.

if i understand it right , then the phpwcms want to be switched from HTML to XHTML. so, if there is not set the Doctype the validator will report every <br /> as a bad tag.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

gent wrote:u have to disable the topmargins at the admin-layout-section , and have to add the "margin"-tag to your body-section at the css. this will work.
That killed alot if my errors
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

As far as I know, the upcoming version is to be W3C-valid, but not XHTML and W3C-valid, or am I wrong?
Locked