W3C - Validate
xhtml!
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
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...
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...
Non timeo adversa
- Oliver Georgi
- Site Admin
- Posts: 9906
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9906
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
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
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
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...
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):'';
Anyway I think the solution can be found in this file somewhere...
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
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.
------------------------------------------------
------------------------------------------------
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.
------------------------------------------------
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
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.
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.
That killed alot if my errorsgent 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.
http://www.studmed.dk Portal for doctors and medical students in Denmark