 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
February 21st, 2007, 05:42 AM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| RP 3.3: change background of Pro & Cons
Hi
I would like to change the background of the Pro & Cons table (see screenshot), so that it is easier to see
In showproduct.tmpl and showproduct1.tmpl there are sections for the pro and cons area:
I tried to exchange tddetails for "tddetailsprocons" and added this is the css file, but nothing changes.
How can I do this? Code: Content visible to verified customers only.
Thanks in advance
|
| |
February 21st, 2007, 10:19 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
The colors of pros and cons are set in the showproduct.php file one green the other red
|
| |
February 21st, 2007, 10:33 AM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| Quote:
Originally Posted by Chuck S The colors of pros and cons are set in the showproduct.php file one green the other red | also in version 3.3?
I found in my showproduct.php file only this part: Code: Content visible to verified customers only.
|
| |
February 21st, 2007, 10:39 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
I thought you where talking about the red and green
Creating a new class and editing your template to a new color should work fine.
|
| |
February 21st, 2007, 10:50 AM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| Quote:
Originally Posted by Chuck S Creating a new class and editing your template to a new color should work fine. | I thought this too, but as you can see in my posting above, it tried it but it does not work and I do not know why...
|
| |
February 21st, 2007, 12:09 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Check the printing html of the page make sure you have defined those classes in your stylesheet.
|
| |
February 21st, 2007, 02:33 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Apr 2002
Posts: 161
| Quote:
Originally Posted by snoopy5 I thought this too, but as you can see in my posting above, it tried it but it does not work and I do not know why... | Snoopy...
I just did this same thing to my ReviewPost installation and I think that the problem may be the way you're editing the template. Here's what you need to do. First:
Add CSS styles to your stylesheet to define the characteristics of the tables. I called mine review_alt1 and review_alt2. Code: Content visible to verified customers only.
SECOND:
Edit your showproduct and showproduct1 templates. Change this... Code: Content visible to verified customers only.
To this... Code: Content visible to verified customers only.
Now if you just adjust the CSS color hex values in the first part, you can color your Pro and Con cells however you want.
Hope that helps.
|
| |
February 24th, 2007, 08:45 AM
|
#8 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi
This helped a lot, I fixed it. My code is now: Code: Content visible to verified customers only.
I have deleted the line:
{$reviewextras[$x]}
Since it broke my template. I guess this is because I use the older RP 3.3 version and "reviewextras" is in my template already in a different place in the code.
I have also a different language file, so I used pros1 and cons1 and in the stylesheet also a different name to easier remember for what this addition was created. Otherwise I will forget it within 2 weeks
Thanks a lot!
|
| |
February 24th, 2007, 08:47 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Apr 2002
Posts: 161
|
I'm glad that it worked out for you. Happy to help.
|
| |
March 17th, 2007, 01:27 PM
|
#10 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
update:
I just upgraded to version 3.33. Now I have also the "{$reviewextras[$x]}" in the file
Hack of qwk98gt still works perfect.
|
| |
April 16th, 2009, 03:26 PM
|
#11 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
update: Hack works still with RP 4.1
|
| |
April 16th, 2009, 06:06 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
thats good
|
| | |
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 04:35 PM. | |