Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Some questions please help


Guest

Recommended Posts

Posted

Hi,

I have the following questions:

1) How do i add extra text to "contact us" page. By default contact us web page has a form by which users can send emails. I would like to still keep the form but add some text above it. So the layout i would like to have is:

Contact us //Existing title

<Some text goes here>

Existing Form goes here //basically existing form swifts down....

 

I would like know which files to modify in this case. I know where the contact_us.php file is located i would just like to know what other files i should modify.

 

2) I would also like to know how do i change the position of the small image icons that gets displayed on contact us, shipping&returns, Privacy Notice and conditions of use pages. Basically the image gets displayed on right hand side of the title of each page.

So currently the pages look like this:

Contact Us <small image here>

<Rest of the Page>

 

How do i change the position of the image.

 

3) I have asked this question before but still have not got an answer yet and i have also tried lot of stuff myself but still cannot figure out how do i change the thin line border color around each of the infoboxes in left and right hand column. I think this color is controlled in stylesheet but i cannot find which parameter to change. I have modified the header background color of each infobox but i still do not know how to modify the thin line border around each infobox....Please help me out here.....

 

Thanks in advance....

Posted

I'd be happy to help. I just did mine. It is definitely tricky. you kind of have to look where the table is in english/contact.php and go from there. email me what you're looking for and I'll dig back into what I did. www.maineorganicbakery.com is the one I just did. not great but I did add some text to the homepage!!

[email protected]

Posted
Hi,

I have the following questions:

1) How do i add extra text to "contact us" page. By default contact us web page has a form by which users can send emails. I would like to still keep the form but add some text above it. So the layout i would like to have is:

Contact us //Existing title

<Some text goes here>

Existing Form goes here //basically existing form swifts down....

 

I would like know which files to modify in this case. I know where the contact_us.php file is located i would just like to know what other files i should modify.

 

2) I would also like to know how do i change the position of  the small image icons that gets displayed on contact us,  shipping&returns, Privacy Notice and conditions of use pages. Basically the image gets displayed on right hand side of the title of each page.

So currently the pages look like this:

Contact Us                                  <small image here>

<Rest of the Page>

 

How do i change the position of the image.

 

3) I have asked this question before  but still have not got an answer yet and i have also tried lot of stuff myself but still cannot figure out how do i change the thin line  border color around each of the infoboxes in left and right hand column. I think this color is controlled in stylesheet but i cannot find which parameter to change. I have  modified the header background color of each infobox but i still do not know how to modify the thin line border around each infobox....Please help me out here.....

 

Thanks in advance....

 

 

Couple of ways you can go on the text. You can add it directly to your catalog/contact_us.php file or you can figure out where you want the text and add something like

 

<tr>

<td class="main"><?php echo MY_TEXT; ?></td>

</tr>

 

and then add the following to your include/languages/english/contact_us.php file

 

define('MY_TEXT', 'all my text here:');

 

The second way would be better but either way will work.

 

You can find the title and image for the page in the following code

 

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

 

 

The border around your infoboxes is controlled by the background class below that is bolded.

 

.infoBox {

background: #b6b7cb;

}

 

.infoBoxContents {

background: #f8f8f9;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
Couple of ways you can go on the text. You can add it directly to your catalog/contact_us.php file  or you can figure out where you want the text and add something like

 

<tr>

                <td class="main"><?php echo MY_TEXT; ?></td>

              </tr>

 

and then add the following to your include/languages/english/contact_us.php file

 

define('MY_TEXT', 'all my text here:');

 

The second way would be better but either way will work.

 

You can find the title and  image for the page in the following code

 

<tr>

            <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

            <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

          </tr>

The border around your infoboxes is controlled by the background class below that is bolded.

 

.infoBox {

  background: #b6b7cb;

}

 

.infoBoxContents {

  background: #f8f8f9;

  font-family: Verdana, Arial, sans-serif;

  font-size: 10px;

}

 

Hi Guys,

Thanks allot for your help. That took care of most of my issues.....

I have one more question.

When i click on my account at the top of the page or checkout all the colors change back to the default oscommerce colors.

So i have customised the first page i.e changed all the color schemes etc...but as soon as you click on my account or checkout all the color changes back to default oscommerce colors.

The things i am talking about infobox colors and the text in footer also changes back to default oscommerce text.

Which files do i have modify to make sure that color scheme is same all aross the site.

E.G

If go to:

http://www.nxgen.biz/ecommerce/os/catalog/

You see all the chanages i have made....i.e. red color changes and also footer text.

Now if you click on "logyour self in" or "create and account" you will the color scheme change i.e. the blue color scheme and the footer text also changes.

 

What files do i have to edit to make sure that color scheme stays same and footer text also stays same.....

 

 

Thanks allot for your help......

Archived

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

×
×
  • Create New...