Hello,
My board is running mainly 3 styles - 'Prosivler', 'Subsilver2', and 'Prosilver SE'. I am working on the html templates to get validation in W3C. How can I make sure the validation process is exactly for each styles. Because if I put the url in W3C validation page,e.g. http://mysite.com/index.php , I don't know the process is examing which styles.
I have tried to switch the board setting /default style to Prosilver or Subsilver2, but seems the result is same.
My situation is that I think I have finished Subsilver2 style by checking throug Firefox html validator add on and W3c. Both can get pass.
However, for Prosilver style there are still have error by checking through Firefox validator addon. But in W3C I don't know what url to put down there to check the Prosilver style.
Rich, please please please help me !
How to get the Html Validation in W3C for various styles ?
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to get the Html Validation in W3C for various styles
Assuming that the styles are installed. Go into the ACP->System. Under General Tasks, choose Spiders/Bots.
Choose the W3c bot, edit and change the style for the bot. Then W3c will use the style you selected and you can check that styles html. You can ensure by clicking on "More Options" at the [url=http://validator.w3.org/]W3c validator[/url], and choosing "Show source" before clicking on "Validate". Look for the name of your template in the output.
EG, prosilver is installed on here as well as pro_silver_se. Board default is set for pro_silver_se but W3c's style is set for prosilver. Prosilver has not been modified on this board.
You must ensure that in the ACP under Board Settings the default style is not set to override users choice.
Choose the W3c bot, edit and change the style for the bot. Then W3c will use the style you selected and you can check that styles html. You can ensure by clicking on "More Options" at the [url=http://validator.w3.org/]W3c validator[/url], and choosing "Show source" before clicking on "Validate". Look for the name of your template in the output.
EG, prosilver is installed on here as well as pro_silver_se. Board default is set for pro_silver_se but W3c's style is set for prosilver. Prosilver has not been modified on this board.
You must ensure that in the ACP under Board Settings the default style is not set to override users choice.
-
- New member
- Posts: 28
- Joined: 05 Jul 2009, 18:58
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to get the Html Validation in W3C for various styles
Thank you Sir ! I am now proceeding to Prosilver style correction .
-
- New member
- Posts: 37
- Joined: 20 Feb 2010, 01:23
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to get the Html Validation in W3C for various styles
Hi Rich,
Can you clear things up for me here with regard to validating a style?
If I go to board settings & select AcidTech, activate the validator for the same style, goto the board index & click on the validator Icon, I get 14 errors, however, If I disable the validator bot & click the Icon I get a clear?
I have checked that it's on the right style when validating, so which one do I go by & why error & clear??
If in the acp I select not to override the members style & choose a style of choice then click the validator icon, should it not check that one?
Regards
Can you clear things up for me here with regard to validating a style?
If I go to board settings & select AcidTech, activate the validator for the same style, goto the board index & click on the validator Icon, I get 14 errors, however, If I disable the validator bot & click the Icon I get a clear?
I have checked that it's on the right style when validating, so which one do I go by & why error & clear??
If in the acp I select not to override the members style & choose a style of choice then click the validator icon, should it not check that one?
Regards
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to get the Html Validation in W3C for various styles
I sometimes just do a "view source" and directly past the code given into the validator "Direct Method" I think it is called as most times bots do not have permissions for everything that maybe being displayed to a registered member.
In your first method the bot is using the style selected for it within the UCP. If you then deactivate the bot, then it is treated as a guest.
Does that help any?
In your first method the bot is using the style selected for it within the UCP. If you then deactivate the bot, then it is treated as a guest.
Does that help any?
-
- New member
- Posts: 37
- Joined: 20 Feb 2010, 01:23
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to get the Html Validation in W3C for various styles
Are you trying to raise my blood pressure more that what it is Rich?
That method gave me 229 errors & 2 warnings starting from line 1,LOL
Example
1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-gb" xml:lang="en-gb">
3. <head>
4.
5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
7. <meta http-equiv="content-language" content="en-gb" />
8. <meta http-equiv="content-style-type" content="text/css" />
9. <meta http-equiv="imagetoolbar" content="no" />
If I send you acp access via Pm, will you have a look when you have a min mate coz it's doing me in bigtime now??
Regards
That method gave me 229 errors & 2 warnings starting from line 1,LOL
Example
1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-gb" xml:lang="en-gb">
3. <head>
4.
5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
7. <meta http-equiv="content-language" content="en-gb" />
8. <meta http-equiv="content-style-type" content="text/css" />
9. <meta http-equiv="imagetoolbar" content="no" />
If I send you acp access via Pm, will you have a look when you have a min mate coz it's doing me in bigtime now??
Regards
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to get the Html Validation in W3C for various styles
Yep, send me a link to your forum and a login account and I'll see what we can do.
-
- New member
- Posts: 37
- Joined: 20 Feb 2010, 01:23
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: How to get the Html Validation in W3C for various styles
If there were more people like you in the world, It would be a better place, you have been a great help to me today Rich & saved me many hours of fiddling around to get things right.
Thanks for your time Rich.
Respect & Regards
Thanks for your time Rich.
Respect & Regards
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 52 guests