PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 21st, 2007, 04:42 AM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
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
Attached Images
File Type: jpg procons.jpg (11.7 KB, 4 views)
snoopy5 is offline   Reply With Quote
Old February 21st, 2007, 09:19 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
The colors of pros and cons are set in the showproduct.php file one green the other red
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 21st, 2007, 09:33 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
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.
snoopy5 is offline   Reply With Quote
Old February 21st, 2007, 09:39 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 21st, 2007, 09:50 AM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
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...
snoopy5 is offline   Reply With Quote
Old February 21st, 2007, 11:09 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Check the printing html of the page make sure you have defined those classes in your stylesheet.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 21st, 2007, 01:33 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 161
Quote:
Originally Posted by snoopy5 View Post
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.
qwk98gt is offline   Reply With Quote
Old February 24th, 2007, 07:45 AM   #8 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
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!
snoopy5 is offline   Reply With Quote
Old February 24th, 2007, 07: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.
qwk98gt is offline   Reply With Quote
Old March 17th, 2007, 12:27 PM   #10 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
update:

I just upgraded to version 3.33. Now I have also the "{$reviewextras[$x]}" in the file

Hack of qwk98gt still works perfect.
snoopy5 is offline   Reply With Quote
Old April 16th, 2009, 02:26 PM   #11 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
update: Hack works still with RP 4.1
snoopy5 is offline   Reply With Quote
Old April 16th, 2009, 05:06 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
thats good
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change background color of featured photos box? dobbs Photopost Pro How Do I...? 1 March 7th, 2005 02:18 PM
Change the background color????? lmbs Photopost Pro How Do I...? 1 January 14th, 2005 09:00 PM


All times are GMT -5. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0