Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

W3C validation: Difference between revisions

From MoodleDocs
No edit summary
(Updating links to User docs)
Line 6: Line 6:
#Add a user with the username "w3cvalidator".
#Add a user with the username "w3cvalidator".
#Give that user all the roles and permissions that you want the validator to have. Easiest is just to make it an admin.
#Give that user all the roles and permissions that you want the validator to have. Easiest is just to make it an admin.
#(Optional) Turn debugging up a little in ''Administration > Server > [[Debugging]]''. This will give you handy validation links in the footer.
#(Optional) Turn debugging up a little in ''Administration > Server > [[:en:Debugging|Debugging]]''. This will give you handy validation links in the footer.
#Click on the links to validate that page (or paste URLs directly). They should work now, because Moodle automatically detects the validator and treats it as the w3cvalidator user.
#Click on the links to validate that page (or paste URLs directly). They should work now, because Moodle automatically detects the validator and treats it as the w3cvalidator user.



Revision as of 06:49, 21 September 2011


To use the W3C Markup Validation Service:

  1. Set your theme to "standard" or "standardwhite".
  2. Add a user with the username "w3cvalidator".
  3. Give that user all the roles and permissions that you want the validator to have. Easiest is just to make it an admin.
  4. (Optional) Turn debugging up a little in Administration > Server > Debugging. This will give you handy validation links in the footer.
  5. Click on the links to validate that page (or paste URLs directly). They should work now, because Moodle automatically detects the validator and treats it as the w3cvalidator user.

See also