Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a php page to column_left.php


jpipitone43

Recommended Posts

I've installed the login box contribution, and it works great.

 

I'm trying to insert some basic HTML (image based navigation) underneath the loginbox contained in column_left.php.

 

The page is basic HTML right now, with the word "hello" - the file is called leftsubnav.php.

 

I've placed the require(DIR_WS_BOXES . 'leftsubnav.php'); underneath require(DIR_WS_BOXES . 'loginbox.php');, however, the "hello" text prints out on top of the categories. Can someone help? Why wouldn't the hello display underneath the loginbox? Here's what my column_left.php looks like:

 

As you can see, everything is commented out for the most part:

 

<?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
*/

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


require(DIR_WS_BOXES . 'loginbox.php');
require(DIR_WS_BOXES . 'leftsubnav.php');

//require(DIR_WS_BOXES . 'shopping_cart.php');
//require(DIR_WS_BOXES . 'lowernavBox.php');
//require(DIR_WS_BOXES . 'seperators.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');
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...