Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

don't know how to set the box size...


vicCon

Recommended Posts

This is my website,

http://www.vic-con.com/shop

 

I just don't know how to set up the left corner box and make it looks width the same as right corner.box...

I didn't do nothing to my right corner box,

probably my cats do this part for me when I fallen asleep.

 

beside,

if I want to set other language like Japanese as my index, not English,

is there any one can tell me how to fix it?

Thanks...

Link to comment
Share on other sites

INSTRUCTIONS

 

1. Open catalog/includes/application_top.php

2. Find the line (around line 47) that reads

// customization for the design layout
?define('BOX_WIDTH', 145); // how wide the boxes should be in pixels (default: 125)

3. after this, add the following lines ....

// customization for the design layout left column
?define('BOX_WIDTH_LEFT', 165); // how wide the boxes should be in pixels (default: 125)
?
// customization for the design layout right column
?define('BOX_WIDTH_RIGHT', 125); // how wide the boxes should be in pixels (default: 125)

4. (set your own width preferences (I have used 165 pixels for the left column and 125 pixels for the right) Save file

 

5. Now open the second file to edit: catalog/index.php

6. Find the first line to change at (around line 51) that reads

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

7. REPLACE this line, with the following line ....

<td width="<?php echo BOX_WIDTH_LEFT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="2">

8. Find the second line to change at (around line 325) that reads

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

9.REPLACE this line with the following line....

<td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2">

10.Repeat steps 6 to 9 for the other files that you want to change the width in otherwise the changes will only be to the index page and pages loaded into the index page. This can be achieved by using a find and replace search function.

11.Save your file changes and upload to your server

 

 

You can set the language for default in the admin, however this may go to english for viewers depending on there browser settings

 

In my browser your columns look the same width

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Thank you genius, it works!

 

I don't know why it looks the same after I move the right "new product" box to left,

but it was not before.

I want to learn it not just change it without knowing what's going on there.

 

I went to admin and set up other language I want as default,

and use other language to view admin,

then go straight to my catalogue from there,

but it never works,

the one on my index.html is always English.

this could be a bug...

 

I like to play video games a lot,

but this program is same exciting to play with!

Link to comment
Share on other sites

how do you want to move it, or do you mean remove it as in not have it

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

remove it, ugly...

 

now I start setting the account.php,

the "My Account Information" page body text looks like

 

My Account

 

View

or

change

my

account

information.

View

or

change

entries

in

my

address

book.

Change my account password.

 

the background is ok,

where can I set and make it looks normail 100%?

TTTTThank you for everythiing,

what a boring sunny Satursday and we have no where to go...

Link to comment
Share on other sites

Ok to remove the ->

 

open catalog/includes/boxes/categories.php and locate this code

 if (tep_has_category_subcategories($counter)) {
     $categories_string .= '->';
   }

you now have a choice of either changing the code to this

/* if (tep_has_category_subcategories($counter)) {
     $categories_string .= '->';
   }*/

or changing the code to this

 if (tep_has_category_subcategories($counter)) {
     $categories_string .= '';
   }

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

the text is in catalog/includes/languages/english/account.php

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I saw you register...

maybe I should just give you my FTP information...save your time.

 

I try hard to search every account file to find out what's wrong here.

no result yet.

 

it's hot here in Jersey,

but my cats should feel hoter than me.

Link to comment
Share on other sites

have you altered catalog/account.php at any time

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Would you like to take some time out to stroke your cat, I think that it is overheating.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...