Webmastersite.net
Register Log In

Splitting rows

Comments on Splitting rows

Efflux
Beginner

Usergroup: Customer
Joined: Apr 15, 2005

Total Topics: 1
Total Comments: 4
Efflux
Posted Apr 15, 2005 - 1:57 PM:

I've just finished installing and am in the process of setting up for my llinks area and I've come accross a problem. I am unable to find where to change the code that goes between Category rows.

I'm useing CSS to format my pages, and everything is working fine, but instead of the </tr><tr> I need to add in <div class="clear"><br class="clear /> tags.. Can anyone help me find where to change these settings?

Thanks
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 16, 2005 - 12:28 AM:

If you don't want to use tables, set the number of columns to 0 in your settings. That should eliminate all tables-related insertions (of course you still have to remove the basic <table> outline from the template, but you've probably done that already).
Efflux
Beginner

Usergroup: Customer
Joined: Apr 15, 2005

Total Topics: 1
Total Comments: 4
Efflux
Posted Apr 16, 2005 - 1:35 PM:

Thanks, but that only solves half my problem. Is there anyway to change the code that is inserted between rows?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 17, 2005 - 3:30 AM:

Is there a reason you can't use the template? It has to not be there after the last link or something?
Efflux
Beginner

Usergroup: Customer
Joined: Apr 15, 2005

Total Topics: 1
Total Comments: 4
Efflux
Posted Apr 17, 2005 - 10:40 AM:

I am useing the template, but what I want to do is after every two categories I want to put in a clear code so that it only displays two accross:

<div class="clear"></div>
<br class="clear" />

I'm useing floats for the listing so to make sure that they display evenly depending on varriable heights it doesn't leave a blank space on some of the listings.

Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 18, 2005 - 1:06 AM:

Maybe some PHP in the template could do it, like <?php if ({LINKNUMBER} % 2) { ?> <br class="clear" /> <?php } ?>

Or you can try searching index.php for instances of <tr> to change it, but that'll make upgrades difficult for you.
Efflux
Beginner

Usergroup: Customer
Joined: Apr 15, 2005

Total Topics: 1
Total Comments: 4
Efflux
Posted Apr 20, 2005 - 2:12 PM:

That worked great! Thanks Paul smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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