Rating
Edit Rating
{if segment_3 == "success"}
{/exp:query} {/if} {if segment_3 && segment_3 != "success"} {exp:query limit="1" sql="SELECT entry_id FROM exp_ratings WHERE rating_id = '{segment_3}'"}
{/exp:query} {exp:rating:form collection="Book Reviews" edit="yes" rating_id="{segment_3}" return="%prefix%main/edit/success/{segment_3}" } {if rating_author_id == "0"}
Your rating/review has been successfully updated!
{exp:query limit="1" sql="SELECT entry_id FROM exp_ratings WHERE rating_id = '{segment_4}'"}
Back to Entry: {embed="%prefix%inc/entry_title" entry_id="{entry_id}"}
{/exp:query} {/if} {if segment_3 && segment_3 != "success"} {exp:query limit="1" sql="SELECT entry_id FROM exp_ratings WHERE rating_id = '{segment_3}'"}
Posted in {embed="%prefix%inc/entry_title" entry_id="{entry_id}"}
{/exp:query} {exp:rating:form collection="Book Reviews" edit="yes" rating_id="{segment_3}" return="%prefix%main/edit/success/{segment_3}" } {if rating_author_id == "0"}
{/if}
Please enter in the word you see below:
{captcha}
{/if} {/exp:rating:form} {if:else} {if segment_3 != "success"}No rating ID was specified.
{/if} {/if}
{embed="%prefix%inc/side_column"}
About This Page
The "Edit Rating" page allows Super Admins or the author of the rating to edit their rating/review submission.
It makes use of the following functions:
- Rating:Form in Edit mode to allow users to edit their rating.