Zen Cart Logo
Forums / General Questions / W3C Validation

W3C Validation

Locked

Views: 1,371

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Apr 2008, 8:13 PM
#1
fantasticals avatar

fantasticals

New Zenner

Join Date:
Mar 2007
Location:
Cheshire
Posts:
73
Plugin Contributions:
0

W3C Validation

I have spent all day trying to validate my site fantasticals toys.

but still have 10 errors, cant figure out what the issues are is anyone able to help. I dont believe these issues are in the tpl_header or tpl_footer I think they are coming from tpl_main_page.

17 Apr 2008, 8:26 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: W3C Validation

are you using something like dreamweaver to edit your files?

<!-- Some words here --> is NOT a valid comment in PHP.

It is making the other coding go crazy.

17 Apr 2008, 8:35 PM
#3
fantasticals avatar

fantasticals

New Zenner

Join Date:
Mar 2007
Location:
Cheshire
Posts:
73
Plugin Contributions:
0

Re: W3C Validation

From what i understand the validation errors are coming from the tpl-main_page, this hasnt been amended since instalation only than to put the google analytics code in.

when you refer to: <!-- Some words here --> do you mean the code tags i.e.

<!--eof- parse time display --> <!--bof- banner #6 display -->
18 Apr 2008, 1:50 PM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: W3C Validation

I see you've got it down to 4 errors and they will all disappear with the addition of a closing </div> tag, inserted just before the closing </body> tag.

includes/templates/your_template/common/tpl_main_page.php

18 Apr 2008, 5:14 PM
#5
fantasticals avatar

fantasticals

New Zenner

Join Date:
Mar 2007
Location:
Cheshire
Posts:
73
Plugin Contributions:
0

Re: W3C Validation

brilliant, that did the trick! thanks for your help