1
dukehen
XHTML validating, one thing to fix? ($pagenav)?
  • 2004/5/18 17:22

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Hello, I am *THIS* close to getting my theme to validate as XHTML 1.0, but there is one thing that doesn't seem to work.

When I validate my main page (which is the news page), it appears that the nav page link doesn't validate because of the code used to generate the code.

Specifically, it doesn't seem to like the PHPSESSID in the code (included below):

(1) 2 3 4 »


---------------
If you want to see the specific errors, you can use this page to generate the validity check:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.paintballandstuff.net%2Fmodules%2Fnews%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1

2
dukehen
Re: XHTML validating, one thing to fix? ($pagenav)?
  • 2004/5/18 17:47

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Aha, fixed it!

Went into index.php of the news module and made sure to set the inialization of the separator from just & to & with a space.

So, I added this around the top of index.php

ini_set('arg_separator.output','&');

anyway, thanks!

3
ackbarr
Re: XHTML validating, one thing to fix? ($pagenav)?

you could also use the correct html entity for '&'. The code below should do the trick:

ini_set('arg_separator.output''& amp;');



* note space added between & and a to prevent parser from screwing up the above


4
dukehen
Re: XHTML validating, one thing to fix? ($pagenav)?
  • 2004/5/18 21:13

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Good catch! I didn't realize that the parser changed what I originally input!

Thanks

Login

Who's Online

168 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 168


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits