Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I'm trying to install autologin 1.03 (this is the first time I've installed a mod)

 

When I get to includes/application_top.php, the part of the code where I'm supposed to insert some new bits of code doesn't exist.

 

 define('FILENAME_SHOPPING_CART', 'shopping_cart.php');

 define('FILENAME_SPECIALS', 'specials.php');

 define('FILENAME_TELL_A_FRIEND', 'tell_a_friend.php');

 define('FILENAME_UPCOMING_PRODUCTS', 'upcoming_products.php'); // This is the bottom of default.php (found in modules)

 

// HMCS: Begin Autologon ******************************************************************

 define('FILENAME_INFO_AUTOLOGON', 'info_autologon.php');

// HMCS: End Autologon  ******************************************************************

 

// define the database table names used in the project

 define('TABLE_ADDRESS_BOOK', 'address_book');

 define('TABLE_ADDRESS_FORMAT', 'address_format');

 define('TABLE_BANNERS', 'banners');

 define('TABLE_BANNERS_HISTORY', 'banners_history');

 

I can't find any of this in the original code at all.

 

I'm not sure how to know which version of osc I've installed (I know it was 2.2 but I can't remember whether I used a daily snapshot or another build)

Posted

If you are using a fairly recent snapshot you may need to look for /catalog/includes/filenames.php because the filename definitions have been moved to their own file now (from application_top.php).

***************************************

I've been contemplating thinking about thinking

***************************************

Posted

I found the right places to put all the code, but it just doesn't work! There's no difference at all in the behaviour of osc. any ideas??

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...