Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2014
    Location
    Canada
    Posts
    8
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: W3C Validation Help

    Quote Originally Posted by WWDetail View Post
    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
    It could be in any of dozens of files
    Show us one page that you are trying to validate?

  3. #3
    Join Date
    Feb 2014
    Location
    Canada
    Posts
    8
    Plugin Contributions
    0

    Default Re: W3C Validation Help

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

  4. #4
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: W3C Validation Help

    Quote Originally Posted by WWDetail View Post
    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

  5. #5
    Join Date
    Feb 2014
    Location
    Canada
    Posts
    8
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: W3C Validation Help

    Quote Originally Posted by WWDetail View Post
    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

  7. #7
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,839
    Plugin Contributions
    31

    Default 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.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  8. #8
    Join Date
    Feb 2014
    Location
    Canada
    Posts
    8
    Plugin Contributions
    0

    Default 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!

 

 

Similar Threads

  1. W3C validation
    By slater555 in forum General Questions
    Replies: 1
    Last Post: 2 May 2011, 12:47 AM
  2. w3c validation
    By lieven23 in forum General Questions
    Replies: 14
    Last Post: 15 Nov 2010, 05:36 PM
  3. W3C Markup Validation Errors Help
    By mw4kids in forum General Questions
    Replies: 3
    Last Post: 12 Nov 2009, 05:04 AM
  4. W3C HTML validation help
    By Doodlebuckets in forum General Questions
    Replies: 4
    Last Post: 5 Aug 2008, 08:18 PM
  5. W3C Validation
    By fantasticals in forum General Questions
    Replies: 4
    Last Post: 18 Apr 2008, 06:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg