You wouldn't get any <tr> inserted in a toplist unless you specifically set a number of columns to ask for it. Hence the lack of any such <tr>s in any of the toplists in the default templates.
Also, I know you are gonna think I am anal, but I am trying to get a valid XHTML happening here, which is why I need to know where to adjust certain elements that are placed into the HTML pages via the software. Such as a <br> for example, when displaying { CATHASNEW } . For example, all references like that, I have to change to < br / >.
Please read the toplists manual entry and the text in the toplist generator template. I have no idea where you're getting these odd and arbitrary conditions from.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on < tr > in < ! -- BEGIN REGULAR -- >
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Quick, but annoying question.
The template for displaying links says:
< ! -- BEGIN REGULAR -- >
and the ending of the regulars, etc.
BUT, when it actually displays, it adds a TR in front:
< tr >< ! -- BEGIN REGULAR -- >
Why? How can I stop that?
THanks
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If you don't want to use columns and rows, set your number of columns per row to 0.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
yep. that did it. ) thanks Paul.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul,
Where can I do the same for the toplists?? The TRs and such appear and mess up the xhtml.
Thanks
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You wouldn't get any <tr> inserted in a toplist unless you specifically set a number of columns to ask for it. Hence the lack of any such <tr>s in any of the toplists in the default templates.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul,
Again, you are correct. The reason why I have to ask these easy questions, is because I can't find any documentation on them.
How would you format a condition in a toplist, if i don't want any links from a certain category to be included? condition="<{CATID} is not 5>" OR ?
Thx
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Also, I know you are gonna think I am anal, but I am trying to get a valid XHTML happening here, which is why I need to know where to adjust certain elements that are placed into the HTML pages via the software. Such as a <br> for example, when displaying { CATHASNEW } . For example, all references like that, I have to change to < br / >.
Thx
David
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul,
Never mind. Just began a mass search in the php files for these <br> and such things. Hopefully I will find all of them.
Cheers
David
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Please read the toplists manual entry and the text in the toplist generator template. I have no idea where you're getting these odd and arbitrary conditions from.