index.php . Not sure which parts exactly, but the ones that relate to the creation of columns in the table for displaying subcategories.
It displays without an opening <tr> when it jumps to the next row. So if I set my columsn to 3, then after the 3rd columns items, it closes the <tr>, then starts a new <-- BEGIN REGULAR -->, but it doesn't start a new <tr>. It simply start the <td>
You will see that places where the errors came up are categories: Finance and Investments, Leads, Software . As you can see, they are the starting point of a new row and they all have this problem.
My guess is to just implement an extra check that makes sure to put a <tr> after the <-- BEGIN REGULAR --> number of occurences of columns that were specified in the admin panel. Something like: IF that number is 3, then right after the 4th occurence of <-- BEGIN REGULAR -->, create a <tr> .
Well I fixed the <tr> issue easily enough, but the validator still nonsensically says
]Error Line 146 column 7: end tag for "TABLE" which is not finished.
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Error Line 197 column 3: end tag for element "P" which is not open.
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
Use the attached file to get rid of the issues that make any sense. (Though I think there was something in wrapper.tpl I fixed too.)
Comments on Mistake in index.php TR handling?
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul,
index.php . Not sure which parts exactly, but the ones that relate to the creation of columns in the table for displaying subcategories.
It displays without an opening <tr> when it jumps to the next row. So if I set my columsn to 3, then after the 3rd columns items, it closes the <tr>, then starts a new <-- BEGIN REGULAR -->, but it doesn't start a new <tr>. It simply start the <td>
</td>
</tr><!-- BEGIN REGULAR -->
<td
That's how it ends up. Look at this:
validator.w3.org/check?uri=...ctype=Inline&ss=1#line-105
You will see the 3 places where it did this. Check out the corresponding page here: anmlmdirectory.com/index.ph...action=displaycat&catid=41
You will see that places where the errors came up are categories: Finance and Investments, Leads, Software . As you can see, they are the starting point of a new row and they all have this problem.
My guess is to just implement an extra check that makes sure to put a <tr> after the <-- BEGIN REGULAR --> number of occurences of columns that were specified in the admin panel. Something like: IF that number is 3, then right after the 4th occurence of <-- BEGIN REGULAR -->, create a <tr> .
Thanks
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Noted.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Well I fixed the <tr> issue easily enough, but the validator still nonsensically says
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Error Line 197 column 3: end tag for element "P" which is not open.
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
Use the attached file to get rid of the issues that make any sense. (Though I think there was something in wrapper.tpl I fixed too.)
Attached Files:
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
will give it a try.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
yep. that seems to have fixed it.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Odd, your page validates while mine doesn't.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
That's cause I tweaked it. :P
Sorry, but I am a tweak freak.