This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Pagination validation
#1

Hi,

Firstly, I'd like to say THANKS for an outstanding script! Big Grin

I'd like to point out a possible validation issue within the pagination mechanism.

The pages may not validate correctly due to...

CMTX_PAGINATION_PREVIOUS
CMTX_PAGINATION_NEXT

being assigned as < and > respectively in language/english/comments.php

It may be better to use &lt; and &gt;

Thanks again Smile
Reply
#2

Hi,

Thanks for pointing this out, however it seems to validate as it is, and I'd prefer to use < and > if possible because it's more readable to the human when customizing the language files.

Have you completed the interview?
Reply
#3

ok, I guess it must be my doctype, as w3c threw up errors.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

(Of course I agree with your comments on readability. Smile )


...EDIT
Actually, you have the same issue on this site.
http://validator.w3.org/check?uri=http%3...ne&group=0
Reply
#4

Ah okay, it was because I was validating the first page. The > character seems to validate fine, it's only the < which doesn't.

Have you completed the interview?
Reply
#5

Anyway I'll convert both for the next version. It should be released in the next couple of days.

Thanks.

Have you completed the interview?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)