Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie Error - I have changed the index page but forgot how


toyzonline

Recommended Posts

Hi Gals & Gals,

 

I have recently changed the appearance of my index page, but now I want to edit it again and I have forgotten how I changed it in the first place....lol

 

raunchyrags.co.uk/shop (not suitable for work)

 

I have checked what I thought were the obvious files but it must be one of them days as cant seem to find where I added/changed the code.

 

So if any of you have any ideas (once you have stopped laughing of course)

 

Ricardo

Complete Newbie On The Learn - Not A Programmer

But Learning As I Go

Link to comment
Share on other sites

Index.php the code at the bottom of the file is what you need to edit for the homepage

<?php
  } else { // default page
?>

<h1><?php echo HEADING_TITLE; ?></h1>

<div class="contentContainer">
  <div class="contentText">
    <?php echo tep_customer_greeting(); ?>
  </div>

<?php
    if (tep_not_null(TEXT_MAIN)) {
?>

  <div class="contentText">
    <?php echo TEXT_MAIN; ?>
  </div>

<?php
    }

    include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
    include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
?>

</div>

<?php
  }

  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...