Rating
Delete Rating(s)
{if segment_4}
{if segment_3 == "rating"}
{exp:rating:delete rating_id="{segment_4}"}
{if success}
Successful!
{if:else}Error!
{/if}{message}
{/exp:rating:delete} {if:elseif segment_3 == "entry"} {exp:rating:delete entry_id="{segment_4}"} {if success}Successful!
{if:else}Error!
{/if}{message}
{/exp:rating:delete} {/if} {if:else}No rating or entry was specified.
{/if}
{embed="%prefix%inc/side_column"}
About This Page
The "Delete Rating(s)" page handles deleting of a specific rating or all ratings for a given entry (depending on the call made to this page).
It makes use of the following functions:
- Rating:Delete to handle rating(s) deletion for a given entry.