Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a right column to a template


Guest

Recommended Posts

How do I add a right side column on a basic oscommerce based monster template with the least amount of drama?

I don't want to change the current "page" width, I want to add the column on the side without having to adjust the script too much.

Is there a CSS trick to this or something?

Link to comment
Share on other sites

Once buying a template it is importaint that you buy one that has the setup of boxes that you like as they are built so tight that adding the right column is not going to be easy.

 

Open your index.php and find these lines (if your template maker left them

 

<!-- body_text_eof //-->

 

Then just below that add:

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

<!-- body_eof //-->

 

There is a 99.9% chance that it will scre* up your display as the table formated by the template maker did not allow for the right side boxes.

 

You would have to open your application_top.php and most if not all your catalog php files to allow for that adjustment. Defeting the purpose of buying a template in the first place.

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