Hello again.
Thank you for the explanation. Here are the steps I have taken …
+++++
#1. Create a custom field
In EE: CP Home › Modules › Rating › Manage Fields › Create Field
Name = rating_entryid
Label = Rating Entry
Type = Text Area
Format = Br
#2. Add ‘hidden’ element to form page
I have this …
{exp:rating:form entry_id="{entry_id}" form_name="review" require_membership="no" anonymous="yes" required="rating|review" status="open" notify="name@email.com" admin_template="admin_template_name" user_template="user_template_name" return="{path='/template/template_name/'}"}
<input type="hidden" name="rating_entryid" value="{entry_id}" />
<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/dir/dir/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 />
<div><input type="checkbox" name="notify_me" value="y" />Notify me of additional ratings and comments</div></td>
</tr>
</table>
<br />
<input name="submit" type="submit" class="formbut" value="Submit" />{/exp:rating:form}
#3. In the notification templates (for use and admin)
I have this …
Someone has posted a rating. Here are the details:
Entry Date: {entry_date}
http://www.domain.com/dir/index.php/template/template_name/{rating_entryid}/
{all_custom_fields}
+++++
… but I’m still not having any joy. This is what is returned via email:
Someone has posted a rating. Here are the details:
Entry Date: 2008-09-17 13:52
http://www.domain.com/dir/index.php/template/template_name/{entry_id}/
Review: And this to delete too (test!)
Rating: 3
Rating Entry: {entry_id}
Name: name
Email: name@domain.com
It has to be something I am missing in the process of it all. Can you spot where I have messed up? I’ve got the feeling it’s something really simple ...
Thanks again.
KCesp