Webmastersite.net
Register Log In

< tr > in < ! -- BEGIN REGULAR -- >

Comments on < tr > in < ! -- BEGIN REGULAR -- >

david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jul 24, 2005 - 5:31 PM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 25, 2005 - 11:04 PM:

If you don't want to use columns and rows, set your number of columns per row to 0.
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jul 25, 2005 - 11:20 PM:

yep. that did it. smiling face) thanks Paul.
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jul 29, 2005 - 5:01 PM:

Hey Paul,

Where can I do the same for the toplists?? The TRs and such appear and mess up the xhtml.

Thanks
David
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 30, 2005 - 1:24 AM:

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.
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jul 30, 2005 - 1:36 AM:

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. smiling face

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
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jul 30, 2005 - 1:39 AM:

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
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jul 30, 2005 - 2:13 AM:

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. smiling face

Cheers

David
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 31, 2005 - 10:29 PM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.