PDA

View Full Version : Can't validate links page


balkanboy
07-08-2006, 02:26 PM
I can't validate links page on PHP LD because link id is number and that is not valid html.
Error Line 17 column 927: value of attribute "id" invalid: "4" cannot start a name.

...ured Links</h2><table><tr><td><a id="4" href="http://www.alivedirectory.com">

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit

Where do I change this and how?

arindra
07-08-2006, 11:30 PM
System - Edit Settings - Directory

*Enable ID: YesNo Enable the ID in the reciprocal links.

is that what u want ?

balkanboy
07-09-2006, 03:39 AM
NO it is not about reciprocal links. It is about links in regular and featured listings. All of them have ID which is a number and validation can only be passed if id starts with an letter instead of number.

CyberGrenade
07-09-2006, 05:43 AM
Find the code in the .tpl file (probably link.tpl)
Content visible to registered users only.

And replace it with something like this

Content visible to registered users only.

anon
07-09-2006, 06:53 AM
id="" <--- cant start with #'s. placing what cyber suggested will help.