1 co Feb 11, 2007 14:55
3 co Feb 11, 2007 17:43
Thank you !
I have been unsuccessful finding any doctype.
Is that normal ? On another file ?
Thanks in advance.
4 yabba Feb 14, 2007 10:29
The doctype is in the individual skins _main.php ;)
¥
5 co Feb 19, 2007 09:03
Thank you, ¥åßßå !
I think I got rid of it by un-attention when working on the template :) Just put it back on place.
But, it looks that w3c validators just don't catch it, even :(
They don't see what currently IS on my pages.
Maybe is it because I'm using stub files ?
www.site.com/stub1.php
www.site.com/stub2.php
I.e. I remember having seen this portion of code while looking through my files : <!-- Please leave this for stats -->. It actually doesn't appear in my stub files, but the w3c validator marks it.
Maybe I have to add the doctype in the file where this code portion is in ?
Thanks !
6 yabba Feb 20, 2007 10:08
Do you have a link to your blog?
¥
7 co Feb 21, 2007 15:11
As it's a project for a client, I can't post any image publicly, sigh :(
But I can confirm it's because of stub files : my index.php, which calls the default blog without any stub file appears to be valid.
On the other ones, called through stub files, the source clearly shows the doctype, but it seems that the validator looks somewehere else :/
I'm going to try to rebuild something similar on my test server to show it.
8 yabba Feb 21, 2007 15:33
If you want you can pm me a link ;)
I'm going to guess that the w3c validator is looking at a different skin (you can disable skin switching in admin for each blog)
¥
9 edb Feb 21, 2007 20:30
If you want to validate with a skin selected you have to put &skin=whatever (or ? of course) in the address bar. Just in case that's it, but stubs don't do what you think they're doing. All they do is feed some information into the process of using a skin to build a web page.
inc/model/skins/_skin.funcs.php approx line 65 onwards
¥