Page 1 of 1

[SOLVED] XHTML and Css Validation

Posted: Thu Oct 25, 2007 3:27 am
by klendino
I have a site running and can not XHTML vaildate all pages. The problem comes on the pages where I used the news module.
Furthermore, CSS vaildation gives me an internal server error. ???

Anyone has suggestions how to improve the coding of the pages?


Info:
CMSMS 1.1.3.1
PHP 4.4.1
Mysql 4.1.11
http://www.ilovemyislanddog.org/
http://www.ilovemyislanddog.org/index.p ... =adoptions => page that doesn't validate

Re: XHTML and Css Validation

Posted: Thu Oct 25, 2007 4:24 am
by Dr.CSS
Have you tried setting the internal pretty URLs in config.php?...

#------------
#URL Settings
#------------

#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = false;

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = ' ';

#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism?  This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = true;

#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy?  (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;  this one is for the modules like news

#If using none of the above options, what should we be using for the query string
#variable?  (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = '.html';

Re: XHTML and Css Validation

Posted: Thu Oct 25, 2007 4:41 pm
by klendino
:D Solved the XHTML validation process by playing around with the config.php settings as suggested.
Had to clean up html coding of the pages. Site is finally xhtml 1.0 compliant.

CSS validator still gives me an internal server error on their page, so I guess some inconsitency still exists in my css files.
Any ideas, suggestions?

Cheers

Re: XHTML and Css Validation

Posted: Thu Oct 25, 2007 5:11 pm
by Dr.CSS
Try removing the album style sheet, you may have to go to Album and on the options tab unclick the Auto Link Stylesheet:...

Re: XHTML and Css Validation

Posted: Thu Oct 25, 2007 7:11 pm
by klendino
Thanks Mark for your valuable help as always  ;)

Re: [SOLVED] XHTML and Css Validation

Posted: Thu Oct 25, 2007 7:48 pm
by Dr.CSS
So I take it the Album CSS doesn't pass validation... hmmm