One of the key features of intsta review 3 is the
template system. You can edit the way your review system looks by
creating your own skin files.
The default skin file found at skins/default contains
three HTML files: post.htm
view.htm
main.htm You can open them in any HTML editor and edit
them. Every template file contains important variables enclosed in
brackets { }. Here is a list of variables in each skin file and their
function. The best way to edit skin files is to make a copy of the
default directory and rename it to something else.
Variables main.htm
{sort_drop_down} |
Drop down box to sort the item list. |
{start_loop_item_list}
HTML CODE {end_loop_item_list} |
Whatever you enclose in between item list loop code
will be repeated when an item is displayed. |
{item_name} |
Item Name. |
{item_description} |
Item Description. |
{rating} |
Average Rating in stars. |
{read_reviews} |
A link to view reviews if there are reviews posted for
that item. |
{post_reviews} |
A link to post a new review. |
{paging} |
Displays link to separate pages if there are more
items than the limit specified in the settings |
{copyright} |
Copyright tag |
post.htm
{message} |
Displayed "No reviews posted" message |
{item_name} |
Item name |
{if_name_show_rev_form}
HTML CODE
{end_if_name_show_rev_form} |
The form should be inbetween these tags. |
{back} |
Displays link to go back |
{copyright} |
Copyright tag |
{item_id} |
This tag is found in the HTML and is necessary for the script to
function. It in enclosed in the <form> tags as:
<input type="hidden" name="id" value="{item_id}"> |
view.htm
{message} |
Displays flood warning, error message |
{item_name} |
Item name |
{if_name_show_rev}
{start_loop_reviews}
HTML CODE
{end_loop_reviews}
{end_if_name_show_rev} |
The HTML code to
display a single review should be enclosed here. Whatever is in
between these tags is repeated. |
{title} |
Title of review |
{posted_by} |
Name of poster |
{date} |
Date the review was
posted |
{rating} |
Rating the poster
gave for the item |
{review} |
The review |
{paging} |
Displays link to
separate pages if there are more reviews than the limit specified in
the settings |
{back} |
Displays link to go back |
{copyright} |
Copyright tag |
If you have made your own cool skin don't forget to
send it to us! Send them to
instareview@vluvshahrukh.com. We just might upload them on our site!
|