Webmastersite.net
Register Log In

3 cols for one link type only

Comments on 3 cols for one link type only

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
3
Posted Dec 15, 2005 - 11:00 AM:

I have one link type that I would like displayed in 3 columns, whilst all the others are 2 columns. Is this possible?


Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted Dec 15, 2005 - 11:20 PM:

In theory, it could be done by setting the columns to 0 and using some template PHP along these lines to insert them:
<?php if ({LINKNUMBER} % 3) { ?></tr><tr><?php } ?>
for the three col one and
<?php if ({LINKNUMBER} % 2) { ?></tr><tr><?php } ?>
for the two col one.

Don't think it's ever been tried in practice.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Dec 15, 2005 - 11:55 PM:

Thanks Paul. Don't think I'm experienced enough to be a guinea pig so will give it a miss <G>
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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