Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newsletter_subscribers - left hand column box trouble


tintisha

Recommended Posts

I have just installed the newsletter_subscribers_054 contribution.

The contribution appears to work fine, but I am missing the newsletter box from the index page on the left hand column.

 

I have traced this down to a problem in the includes/column_left.php file

 

If I move the contributions code up a few lines, the newsletter box appears, but appears in the center column and shifts all my content down. Does anybody know of a fix for this?

 

Code below (with the code like this I get no box appearing):

 

<?php
/*
 $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/


// START STS 4.1
if ($sts->display_template_output) {
 include DIR_WS_MODULES.'sts_inc/sts_column_left.php';
} else {
//END STS 4.1

 if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_categories_box();
 } else {
include(DIR_WS_BOXES . 'categories.php');
 }

 if ((USE_CACHE == 'true') && empty($SID)) {
echo tep_cache_manufacturers_box();
 } else {
include(DIR_WS_BOXES . 'manufacturers.php');
 }

 require(DIR_WS_BOXES . 'whats_new.php');
 require(DIR_WS_BOXES . 'search.php');
 require(DIR_WS_BOXES . 'information.php');
 require(DIR_WS_BOXES . 'linksbox.php');

// START STS 4.1
}

// END STS 4.1
if (basename($PHP_SELF) == FILENAME_PRODUCT_INFO)
include(DIR_WS_BOXES . 'header_tags.php');

// ################# Contribution Newsletter v050 ##############
if (!tep_session_is_registered('customer_id')) {
 require(DIR_WS_BOXES . 'newsletter.php');
}
// ################# END - Contribution Newsletter v050 ##############

?>

 

Your help is much appreciated... I have been searching through all the forums for a solution to this.

I am using STS templates.

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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