Zen Cart Logo
Forums / General Questions / W3C Validation Help

W3C Validation Help

Views: 1,074

Results 1 to 8 of 8
27 Feb 2014, 2:24 AM
#1
wwdetail avatar

wwdetail

New Zenner

Join Date:
Feb 2014
Location:
Canada
Posts:
8
Plugin Contributions:
0

W3C Validation Help

Hello, I'm trying to validate my website using http://validator.w3.org

Once I see the errors, where do I go to edit the code? Is it an html file? I've looked all over the files, and I'm confused.

Any help is greatly appreciated,

Thanks,
Eric

27 Feb 2014, 2:33 AM
#2
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: W3C Validation Help

WWDetail:

Hello, I'm trying to validate my website using http://validator.w3.org

Once I see the errors, where do I go to edit the code? Is it an html file? I've looked all over the files, and I'm confused.

Any help is greatly appreciated,

Thanks,
EricIt could be in any of dozens of files
Show us one page that you are trying to validate?

27 Feb 2014, 2:46 AM
#3
wwdetail avatar

wwdetail

New Zenner

Join Date:
Feb 2014
Location:
Canada
Posts:
8
Plugin Contributions:
0

Re: W3C Validation Help

I put in "www.worxcarcare.com" in the validator. Is that validating the entire site? Or just the home page.

27 Feb 2014, 3:52 AM
#4
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: W3C Validation Help

WWDetail:

I put in "www.worxcarcare.com" in the validator. Is that validating the entire site? Or just the home page.Thats just the home page.
I like to use FF with the html Vaidator addin as it makes fixing these easier.

Its complaining of

<ul> </ul> Empty list, it has no list elements <br> xhtml uses <br /> instead </div> The final div on the page is missing

Fix the first error first, as often one error causes a cascade of errors
The first is in the links section in the footer.
Add some links and it may go away
or edit that section of the template and remove the empty list

27 Feb 2014, 8:50 AM
#5
wwdetail avatar

wwdetail

New Zenner

Join Date:
Feb 2014
Location:
Canada
Posts:
8
Plugin Contributions:
0

Re: W3C Validation Help

Okay so I understand that part... But what I don't get is where I find the file to edit. Is it a PHP file? That's pretty much all there is in my files. Is there a specific HTML file I need to edit or do I just need to find the right PHP file at random to edit?

Thanks in advance for the help. I'm slowly starting to get the hang of Zen Cart.

27 Feb 2014, 9:00 AM
#6
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: W3C Validation Help

WWDetail:

Okay so I understand that part... But what I don't get is where I find the file to edit. Is it a PHP file? That's pretty much all there is in my files. Is there a specific HTML file I need to edit or do I just need to find the right PHP file at random to edit?

Thanks in advance for the help. I'm slowly starting to get the hang of Zen Cart.

You are using a template "carlisle_fresh"
It will be in the php files in this template
As well the template should include instructions about how to add the links to your footer including the file to edit.

Otherwise you could look thru and post in the Carlisle Fresh Template Support Thread
for help

27 Feb 2014, 2:14 PM
#7
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: W3C Validation Help

Yes at first it is difficult to find stuff as every page is created by bits from several php files.
One tip is to find a nearby id or class in the html source and search for that inside the template files, that will usually get you close to the bit you are looking for.
This is another advantage to developing locally, much easier and faster to search on a local computer.

27 Feb 2014, 8:18 PM
#8
wwdetail avatar

wwdetail

New Zenner

Join Date:
Feb 2014
Location:
Canada
Posts:
8
Plugin Contributions:
0

Re: W3C Validation Help

Thank you both Gilby and torvista. I managed to validate the homepage. Things are all making sense now. I've got it figured out!