 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
March 8th, 2008, 04:07 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 58
| Custom icon for reviews
Can I use a different graphic for the review icons instead of the "thumbs up" icon that is the default? I want to use a different graphic that is related to my site. Is it just a matter of replacing the graphic file, and if so, what file is it? Does any code or template have to be edited?
Thank you
|
| |
March 8th, 2008, 04:33 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
It is just a matter of replacing the file with a graphic of the same name.
The name of the icons depend on what your trying to replace.
|
| |
March 8th, 2008, 04:44 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 58
|
Thank you... this brings up another question about these icons. When you look at recent reviews, on a page produced by revshow.php, each review has the "thumbs up" icons and the numerical rating. But, when you look at one product, on a page produced by showproduct.php, each review only gives the numerical rating only - the icons are not shown. Is it possible for each review on showproduct.php to also include the row of icons?
|
| |
March 8th, 2008, 06:45 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
well If you add something like that to whatever page sure like for the review this in showproduct.php you will see the code add the lines in bold and the last bold line is one you change Code: Content visible to verified customers only.
Please use at your own risk as their is no support for code modifications.
|
| |
March 8th, 2008, 09:54 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 58
|
I'll give it a try. Thank you for your help!
|
| |
March 8th, 2008, 10:10 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 58
|
It worked, except that it shows twice the number of icons - for example, if the rating was 9, it shows 18 icons. That part of my showproduct.php file is currently: Code: Content visible to verified customers only.
|
| |
March 9th, 2008, 09:08 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Change the name $ratingicon to $revicon in the code I noted and it should work enjoy your hacking |
| |
March 9th, 2008, 09:21 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 58
|
It worked - thanks again.
|
| |
March 9th, 2008, 09:33 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Have a good weekend.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:27 PM. | |