Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding new box


giftmaster

Recommended Posts

If you want the box to show up in your main page?

Open catalog/index.php (backup the file first as always!)

 

Find the html code in index.php (it's near the bottom of page) I have inserted a couple of new boxes as an example using FILENAME_xxxxx (xxxx=your boxes name, may not even have the prefix FILENAME either but most likely will)

 

This is of course if your box is in the modules dir, if in boxes just change DIR_WS_MODULES to that. It's a very simple insert but backup the file before you alter it :)

 

Hope this helps,

 

--KJ

 

<?php

  } else { // default page

?>

    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">

          <tr>

          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">

          <tr>

            <td class="main"><?php echo $page_check[pages_html_text]; ?></td>

          </tr>

          <tr>

          <td><?php include(DIR_WS_MODULES . FILENAME_xxxx); ?></td>

          </tr>

          <tr>

          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td>

          </tr>

          <tr>

          <td><?php include(DIR_WS_MODULES . FILENAME_xxxx); ?></td>

          </tr>

          <tr>

          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td>

          </tr>

          <tr>

          <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

          </tr>

<?php

    include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);

?>

define('PROJECTS', 'Something that goes on forever!');

Link to comment
Share on other sites

If you want the box to show up in your main page?

Open catalog/index.php (backup the file first as always!)

 

Find the html code in index.php (it's near the bottom of page) I have inserted a couple of new boxes as an example using FILENAME_xxxxx (xxxx=your boxes name, may not even have the prefix FILENAME either but most likely will)

 

This is of course if your box is in the modules dir, if in boxes just change DIR_WS_MODULES to that. It's a very simple insert but backup the file before you alter it :)

 

Hope this helps,

 

--KJ

 

Hey thanks KJ. The box is not in the mod dir. It installes a lot the about us contrubution. It just places a link in the info box.

At this point I can't get the contrubution to work at all. I don't understand it, it is a very simple install :( Mabe you can take a peek? :thumbsup: ?

Thanks, Ray

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