We are looking for a easy way to (display) present a group of links, where we get link ID from a separate database. We want to pass the ID of multiple listings in a single string and get back listing info (similar to what displaylinks.tpl displays but without the categories).
So for example we would like to use a string like: www.mysite.com/displaylinks.php/?action=linksonly& linkids=3,12,22,24,27,30,32
And this would result in a display of links 3 12 22 24 27 30 and 32.
Comments on Custom template
Experienced
Usergroup: Customer
Joined: Jul 29, 2005
Total Topics: 30
Total Comments: 65
Hi Paul,
We are looking for a easy way to (display) present a group of links, where we get link ID from a separate database. We want to pass the ID of multiple listings in a single string and get back listing info (similar to what displaylinks.tpl displays but without the categories).
So for example we would like to use a string like:
www.mysite.com/displaylinks.php/?action=linksonly& linkids=3,12,22,24,27,30,32
And this would result in a display of links 3 12 22 24 27 30 and 32.
Any suggestions for an easy way to achieve this?
Thanks.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The only possible way I see without code modifications to pass the condition for a toplist in the URL, and make it be id=3 OR id=12 etc.
Experienced
Usergroup: Customer
Joined: Jul 29, 2005
Total Topics: 30
Total Comments: 65
Couldn't figure it out in toplist, but would something like this work using search?
In English first.
Find all links where linkid is exactly this (id#) and this (id#) and this (id#)
Not sure how to string.
site.com/search.php?whichty...12,14,15&condition=and
Thanks,
rw
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
A link can never have two ids so you want or, not and.