Gossamer Forum
Home : Products : Gossamer Links : Discussions :

review links

Quote Reply
review links
i upgraded from 2.05 to 2.1.1
and i noticed the review feature have been added
i'm using my own templates so where to add the links to review files:
review_edit
review_stats
review_search_results


* review add can be added from link.html templates how about the above
thanks
Quote Reply
Re: [theguy] review links In reply to
Review_edit is used when a user tries to add a review of a link that they have already reviewed. I put a link to it in the email that is sent when a review is successfully added so that the user knows that they can edit it.

Review_search_results is the one that shows the reviews. You can link to it from your link template:

<%if Review_Count%>
<a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Count%> Review<%if Review_Count > 1%>s<%endif%></a>
<%else%>
<a href="<%db_cgi_url%>/review.cgi?ID=<%ID%>&add_review=1">Write a Review</a>
<%endif%>

The review_stats is used within review_search_results.