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?
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.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Mix Link types
Beginner
Usergroup: Customer
Joined: Aug 29, 2005
Total Topics: 3
Total Comments: 5
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?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.