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?
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).
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.
Comments on Splitting rows
Beginner
Usergroup: Customer
Joined: Apr 15, 2005
Total Topics: 1
Total Comments: 4
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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).
Beginner
Usergroup: Customer
Joined: Apr 15, 2005
Total Topics: 1
Total Comments: 4
Thanks, but that only solves half my problem. Is there anyway to change the code that is inserted between rows?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Is there a reason you can't use the template? It has to not be there after the last link or something?
Beginner
Usergroup: Customer
Joined: Apr 15, 2005
Total Topics: 1
Total Comments: 4
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Beginner
Usergroup: Customer
Joined: Apr 15, 2005
Total Topics: 1
Total Comments: 4
That worked great! Thanks Paul