logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

top list for each category

Version:


top list for each category
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 11/12/04 - 04:18 PM:
quote post
#1
Can I set up links top list for each category?

Actually may be I don't need a top list - I added another comlumn to my links table and I need to pull out information from that column only for the links in the current category. I was trying to do that as top list, but it shows the same info in every category. I added reciprocal and regular blocks as for links display, but it displys it twice.

Feels like it shouldn't too complicated.. but

Thanks a lot!

_____________________
Real Estate Business Directory
din
Experienced
Avatar

Usergroup: Customer
Joined: May 12, 2003
Total Topics: 7
Total Posts: 56
Posted 11/13/04 - 06:08 AM:
quote post
#2
here is one for that shows the last 5 listings in a category from my displaylinks.tpl

Newest {TOPLISTTOTAL1} links

links,time,5,descending,catid={CATID}
{LINKTITLE} {LINKADMIN}
{LINKDATE}


I'm not sure if this close to what you are getting at, but it might be a clue.

_____________________
Those who say do not know
Those who know do not say
NewsArray News Directory
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 11/13/04 - 09:34 AM:
quote post
#3
Thank you din! catid={CATID} i though about it, but never tried actually. It works great. Thanks again.

_____________________
Real Estate Business Directory
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 11/13/04 - 10:37 AM:
quote post
#4
I was thinking - is there a way to take limitation off from the results displaied? Well, I suppose it wouldn't be a top list anymore.. I can live with putting a bign number in the amount of results, but still, if I want to show all of them?

_____________________
Real Estate Business Directory
mrowton
Forum Regular
Avatar

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 59
Total Posts: 189

Last Blog:

Posted 11/13/04 - 11:11 AM:
quote post
#5
Look into multi-page toplist, then display a total of 100000000 with 10 per page.

_____________________
http://www.packetsource.com/
Directory of Security Papers
din
Experienced
Avatar

Usergroup: Customer
Joined: May 12, 2003
Total Topics: 7
Total Posts: 56
Posted 11/13/04 - 03:57 PM:
quote post
#6
you could also try {CATLINKSHERE} instead of 5

_____________________
Those who say do not know
Those who know do not say
NewsArray News Directory
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 11/13/04 - 07:50 PM:
quote post
#7
You guys rock! I'm kinda new to the wsnlinks custom queries... sometimes it gives me not what I expect I think I will go with {CATLINKSHERE} - working good! Thanks a lot!

_____________________
Real Estate Business Directory
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.