Webmastersite.net
Register Log In

Toplist trouble

Title Toplist trouble
Message Text I am using the comments feature as a mini blog/news section just for the item owner.

I am using the guestbook to collect comments from the viewer. I have added a custom field 'itemidref' to the comments table to collect the item id as I am putting the guestbook form on the item page.

I want a list of the last 5 guestbook comments where itemidref matches itemid.

<!-- BEGIN TOPLIST 32 -->
<CONFIG>comments,time,5,descending,itemidre f={ITEMID},,,0,0,0,0,0,0,,0</CONFIG>
{COMMENTMESSAG E} <br /><i>by {COMMENTPOSTERNAME}</i><br />---------------<br />
<!-- END TOPLIST 32 -->

This isn't working. If I use linkid={ITEMID} that works fine but it shows all from the comments and the guestbook.

Thanks for your help,
Ida
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership idamay
Views 397 views. Averaging 0 views per day.
Similar Topics
Submission Date Oct 19, 2008 - 11:29 AM