Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Unknown Tag: 'review_count' review(s)

Quote Reply
Unknown Tag: 'review_count' review(s)
Hi,

On the reviews page, when i click on the name of the reviewer, i am getting this error:

Unknown Tag: 'review_count' review(s)

I searched the forums. I saw this post:

-------------------------------------------

Hi KaTaBd,

You just need to add the tag <%Links::Utils::load_reviews%> before you use any of the review tags.

Laura.
The UK High Street

--------------------------------------------

Where to keep that tag exactly? When i keep it just before "<%review_count%>" i am getting the following error:

Unknown tag: Title

Thanks.
Quote Reply
Re: [hegu] Unknown Tag: 'review_count' review(s) In reply to
-This is the code i see in mint/review_search_results.html. Is this correct?

====================================

<table width="100%" cellpadding="5">


<%if error%>
<tr><td><%error_font%><b><%error%></b></td></tr>
<%else%>
<tr><td>
<%if user%>
<br><%body_font%><b><%user%></b> has <%review_count%> review(s)</font>
<%endif%>
</td></tr>
<%endif%>

<%if Review_Loop%>
<!-- Next/Previous links if spanning pages. -->
<%if Review_SpeedBar%>
<tr>
<td colspan=2 align=right>
<%body_font%>
<small>Pages: <%Review_SpeedBar%></small>
</font>
</td></tr>
<%endif%>
=====================================
Quote Reply
Re: [hegu] Unknown Tag: 'review_count' review(s) In reply to
Anybody please?

hegu
Quote Reply
Re: [hegu] Unknown Tag: 'review_count' review(s) In reply to
On the reviews page you don't need to load the reviews - you only need that tag if you want to show reviews on other pages.

I think the problem may be that the tag is missing its capital letters - try

<%Review_Count%>

Laura.
Quote Reply
Re: [afinlr] Unknown Tag: 'review_count' review(s) In reply to
Thanks Laura. It worked.Smile