Hi.
I am pulling my hair our with this one - perhaps it’s a case of not seeing the wood for the trees ... anyway, having got the ratings to work / appear, the stars showing up where they should etc. I am unable as yet to get the user to a ‘here’s a confirmation that your rating was submitted’ page.
The ‘error’ mesage is this:
The following errors were encountered
The notification template that was specified is not available. Please contact customer service.
Return to Previous Page
Here’s the code for the rating:
{exp:rating:form entry_id="{entry_id}" form_name="review" require_membership="no" admin_template="admin_template" anonymous="yes" required="rating|review" status="open" XXXXX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><label for="review">Your rating: </label>
<select name="rating" class="search_box">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select> <img src="http://www.domain.com/directory_a/directoryb/rating_star.gif" alt="0" border="0" class="rating_star" /><br />
<br />
<div class="comments_form_name">Full name</div>
<input name="name" type="text" class="search_box" size="30" />
<br />
<div class="comments_form">Contact email</div>
<input name="email" type="text" class="search_box" size="30" />
<br />
<div class="comments_form">Your comments</div>
<textarea name="review" cols="55" rows="12" class="search_box"></textarea>
<br /></td>
</tr>
</table>
<br />
<input name="submit" type="submit" class="formbut" value="Submit" />
{/exp:rating:form}
- - - - -
I have tried ... (for XXXXX above):
{exp:rating:form entry_id="{entry_id}" form_name="review" require_membership="no" admin_template="admin_template" anonymous="yes" required="rating|review" status="open" return="{path='template_group/template_name'}"}
{exp:rating:form entry_id="{entry_id}" form_name="review" require_membership="no" admin_template="admin_template" anonymous="yes" required="rating|review" status="open" return="{path='template_group/template_name/'}"}
{exp:rating:form entry_id="{entry_id}" form_name="review" require_membership="no" admin_template="admin_template" anonymous="yes" required="rating|review" status="open" return="http://www.domain.com/directory_a/index.php/template_group/template_name/"}
The template_name in the template_group (template_group/template_name) does exist.
- - - - -
Alternatively, and it’s something I would probably prefer, is that rather than being redirected to another page, the page is simply ‘refreshed’, with the refreshed page showing the rating and comment which has just been submitted.
Any help / insight very gratefully received.
Thanks.
