Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I have installed the Center Shop Contribution and I believe I followed the installation process to a T and now I believe I am supposed to go into the center_shop.php file and edit my changes but where can I find instructions on how and what to change?

 

And after I edit it....do I do the same thing to all of the center_shop.php in all the languages?

 

Let me know if I am going completely in the wrong direction.

 

 

<?php
// WebMakers.com Added: CENTER SHOP CONTROL
//
// Updated to MS2 build 051113 by Sthenley Macedo <[email protected]>
//
// /catalog/includes/languages/[language]/center_shop.php
// in english.php require(DIR_WS_LANGUAGES . $language . '/' . 'center_shop.php');

define('CENTER_SHOP_ON','1');  Center the shop
define('CENTER_SHOP_WIDTH','756');  Width for the shop
define('CENTER_SHOP_BACKGROUND_ON','1');  Turn on a background around the shop
define('CENTER_SHOP_BACKGROUND_COLOR_OUT',"2F4F4F");  Use what bgcolor for the outside of the shop
define('CENTER_SHOP_BACKGROUND_COLOR',"FFFFFF");  Use what bgcolor for the inside of the shop
define('CENTER_SHOP_PADDING','4');  Add cellpadding to the outter color

// Header image information
define('HEADER_IMG_LINK_ON','1');
define('HEADER_IMG_LINK_NEW_WIN','1');
// Change domain name to your's
if (HEADER_IMG_LINK_NEW_WIN=='1') {
 define('HEADER_IMG_LINK', tep_href_link(FILENAME_DEFAULT).'" target="_blank');
} else {
 define('HEADER_IMG_LINK', tep_href_link(FILENAME_DEFAULT));
}
define('HEADER_IMG_PIC', 'oscommerce.gif');
define('HEADER_IMG_ALT', ' Bem-vindo! ');
?>

 

 

Any help would be greatly appreciated. Thank you

Kelly

 

http://www.just2cutegifts.com/store/

Posted

Hello Again

 

I am really hoping someone here has used the Center Shop Contribution and can tell me what I do after it is installed

 

Kelly

  • 1 month later...
Posted

Hi, once youve installed, go into your admin, then configuration, then center shop and all the options are in there

 

Hope this was what you were after..........

 

 

Just a quick note though.......... I installed this contribution but couldnt seem to change the background colour of the page from white which is a bit of a bugger as the rest of my shop is on black. So i cant use the contrib

 

 

Just checked your link......

 

Looks like you already got it working

  • 4 weeks later...
Posted
Hi, once youve installed, go into your admin, then configuration, then center shop and all the options are in there

 

Hope this was what you were after..........

Just a quick note though.......... I installed this contribution but couldnt seem to change the background colour of the page from white which is a bit of a bugger as the rest of my shop is on black. So i cant use the contrib

Just checked your link......

 

Looks like you already got it working

 

In the your header.php find

 

///////////////////

// [0001] Shop Width Size and Shop Background Color

///////////////////

?>

<table width="<?php echo CENTER_SHOP_WIDTH; ?>" align="center" BGCOLOR="<?php echo CENTER_SHOP_BACKGROUND_COLOR; ?>" BORDER="<?php echo CENTER_SHOP_BORDER; ?>" bordercolor="<?php echo CENTER_SHOP_BORDERCOLOR; ?>" CELLSPACING="<?php echo CENTER_SHOP_CELLSPACING; ?>" CELLPADDING="<?php echo CENTER_SHOP_CELLPADDING; ?>" >

<tr><td BGColor="FFFFFF"> CHANGE TO: 000000

<?php

 

///////////////////

// [0001] The rest of this <td> statement is located at the end of footer.php

///////////////////

}

?>

 

Hope this helps

  • 3 months later...
Posted
Hi, once youve installed, go into your admin, then configuration, then center shop and all the options are in there

 

Hope this was what you were after..........

Just a quick note though.......... I installed this contribution but couldnt seem to change the background colour of the page from white which is a bit of a bugger as the rest of my shop is on black. So i cant use the contrib

Just checked your link......

 

Looks like you already got it working

 

Hi plat...

I am new to Osc but think I stumbled on a fix for your problem...just change

 

<table width="100%" cellpadding="<?php echo CENTER_SHOP_PADDING; ?>" cellspacing="0" border="0" bgcolor="<?php echo CENTER_SHOP_BACKGROUND_COLOR_OUT; ?>">

 

TO

 

<table width="100%" cellpadding="<?php echo CENTER_SHOP_PADDING; ?>" cellspacing="0" border="0" bgcolor="<?php echo CENTER_SHOP_BACKGROUND_COLOR; ?>">

 

 

So you just delete _OUT

 

Hope this helps

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...