Webmastersite.net
Register Log In

Mix Link types
How can I mix link types to show...

Comments on Mix Link types

cellinis
Beginner

Usergroup: Customer
Joined: Aug 29, 2005

Total Topics: 3
Total Comments: 5
Posted Feb 07, 2006 - 10:15 AM:

Hi Paul... I have another issue!

I have the two link types, recip and regular. Now the idea is this:

1. To show 1 recip link every 5 regular link on the category page.
For instance:
recip link
regular link
regular link
regular link
regular link
recip link etc...
Alternatively,
2. Show 10 recip links and 40 regular links per page, on every page.
i.e. the first 10 links on every page are recip links and the rest are regular links.

How can I do it via templates? Or is there any other way to do it?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 08, 2006 - 3:28 PM:

That's not the sort of thing index.php is designed for. Maybe you could make toplists to do (2), just a toplist of 10 recip and a toplist of 40 regular... pages 2+ though wouldn't work very well since the two toplists would have distinct pagination.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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