Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reviews Info Box Question


Guest

Recommended Posts

I hope someone can help me.....

 

I wish to adjust the text which is displayed in the Reviews Info box.

 

The text mearly reads 'Write a review on this product!'. I know what I want to do, but unfortunately do not know which file I need to adjust.

 

Any advice would be greatly appreciated.

 

Thanks in advance.

 

 

Templer

Link to comment
Share on other sites

/catalog/includes/languages/english.php

 

define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

just bumping a spammer off the top....

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks for the quick responce.

 

Unfortunately I was not able to do what I wanted :(

 

I just want to move the 'Write a review on this product!' down one line (ie add a return before it).

 

If I do that by changing the code in the /catalog/includes/languages/english.php

 

I end up with a '-' on the original line.

 

I replaced

 

define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!')

 

With

 

define('BOX_REVIEWS_WRITE_REVIEW', '<p> </p>Write a review on this product!')

 

I'm sure it is a simple answer but one I have yet to find.

 

Thanks in advance.

 

Templer

Link to comment
Share on other sites

Alternatively, is it possible to have the 'box_write_review.gif' image above the 'Write a review on this product!' text?

 

Templer

Link to comment
Share on other sites

all you need to do is add a <br> before the text in the english file.

 

That would be your easiest way, otherwise you will have to create a NEW box class called reviewbox new or something and then tell the box how to be laid out that way.

 

You can see the box classes that are used now by going to catalog/includes/classes/boxes.php

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...