Simple Tags
This help guide was written for Simple Review version 2.0.0.
Simple Tags let you quickly and easily display information about your reviews.
You can use Simple Tags in Templates, Reviews and a few other places.
Available Simple Tags:
- {sr_reviewURL} - The URL of the review.
- {sr_score} - The reviews score.
- {sr_avgUserScore} - Visitors’ average score from comments (if applicable).
- {sr_scoreBox} - Shows a score box with the score in it.
- {sr_userScoreBox} - Shows a score box with the average user score in it.
- {sr_maxScore} - The maximum score a review can be given.
{sr_userReview} - If you have ‘Force User Review Template’
turned on then put this in your template to display the users review.
This tag will only be used in reviews submitted via the front end.
It will be ignored in reviews created from the back end.
If ‘Force User Review Template’ is turned on then you must put this tag in
every template!- {sr_award} - The award image for the review (if applicable).
- {sr_title1}, {sr_title2}, … , {sr_titleN} - The reviews titles.
- {sr_catTitle1}, {sr_catTitle2}, … , {sr_catTitleN} - The categories titles.
- {sr_blurb} - The reviews blurb (if applicable).
- {sr_thumbnailURL} - The URL to the review’s thumbnail image (if applicable).
- {sr_imageURL} - The URL to the review’s full sized image (if applicable).
- {sr_createdBy} - The reviews original author.
- {sr_createdDate} - The date the review was created.
- {sr_lastModifiedBy} - The last person who modified the review.
- {sr_lastModifiedDate} - The date the review was last modified.
{sr_dynamic_title_1} … {sr_dynamic_title_9}- The title of a dynamic/custom tag(used for categories).{sr_dynamic_1} … {sr_dynamic_9}- A Dynamic/Custom tag for the review.
To use a Simple Tag just place it in your reviews content.
Example: if you put {sr_score} in your review, when the review is displayed on the frontend {sr_score} will be replaced with the reviews score/rating.
Note: {sr_thumbnailURL} and {sr_imageURL} only contain the URL of the image.
To display the image in your review you must put the tag as the image source, example <img src=’{sr_imageURL}’/>.
If you are using a WYSIWYG editor to enter your content (template, review etc) you will have to switch into code/HTML mode to add {sr_imageURL} as the source.