Results 1 to 3 of 3

Making site 100%

This is a discussion on Making site 100% within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hello all i am a newbie and i purchased a template that was centered and the more that i think ...

      
  1. #1
    New Member
    Join Date
    Apr 2005
    Posts
    9
    Rep Power
    0


    Default Making site 100%

    Hello all i am a newbie and i purchased a template that was centered and the more that i think about it i am wanting to make my site a 100% can any one out there assist me or point me in the right direction to find out how to complete this task.

    My website address is www.jonescollectables.com

    Any help would be greatly appreciated.

    Thanks In Advance
    Roy

  2. #2
    Active Member
    Join Date
    May 2004
    Location
    somewhere above colchester uk
    Posts
    147
    Rep Power
    0


    Default RE: Making site 100%

    Roy
    If you bought the template, go back to whoever sold it to you and ask this question... Alternatively, (and more helpfully) read the oscdox guide, it tells you how to make your store 100% wide.

    Or go into mainpage.tpl.php and follow the instruction that are written into the file. BTW this question has been answered before, please do a search before you ask the question, you will find lots of help already out there
    cheers
    Kim
    Google says be nice!

  3. #3
    New Member
    Join Date
    Apr 2005
    Posts
    9
    Rep Power
    0


    Default RE: Making site 100%

    Kim,
    Thanks for the reply but i have already contacted the person that sold me this template and he says that it will cost me 150.00 i feel that it is pretty pricy and me being a newbie i wanted to do some research on it and try and complete the task on my own any advice you can offer would be greatly appreciated.

    I have no idea what you mean when you said.

    go into mainpage.tpl.php and follow the instruction that are written into the file?

    This is whats in that file.

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?>
    <title><?php echo META_TAG_TITLE; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>">
    <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>">
    <link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>stylesheet.css">
    <link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>stylesheet-org.css">
    <link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>print.css" media="print">
    <?php if ($javascript) { require(DIR_WS_JAVASCRIPT . $javascript); } ?>
    </head>
    <body>
    <!-- warnings //-->
    <?php require(DIR_WS_INCLUDES . 'warnings.php'); ?>
    <!-- warning_eof //-->

    <!-- header //-->
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
    <tr>
    <td>

    <table border="0" cellpadding="0" cellspacing="0" width="750">
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="750">
    <tr>
    <td><a href="<?php echo tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r1_c1.gif', ''); ?></a></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r1_c7.jpg', ''); ?></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r1_c11.jpg', ''); ?></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r1_c15.jpg', ''); ?></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="750">
    <tr>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r2_c1.jpg', ''); ?></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r2_c7.jpg', ''); ?></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r2_c11.jpg', ''); ?></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r2_c15.jpg', ''); ?></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c1.gif', ''); ?></td>
    <td><a href="<?php echo tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c2.gif', 'Home'); ?></a></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c3.gif', ''); ?></td>
    <td><a href="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH, '', 'NONSSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c4.gif', 'Search'); ?></a></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c5.gif', ''); ?></td>
    <td><a href="<?php echo tep_href_link(FILENAME_SPECIALS, '', 'NONSSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c6.gif', 'Specials'); ?></a></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c8.gif', ''); ?></td>
    <td><a href="<?php echo tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c9.gif', 'Contact Us'); ?></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c10.gif', ''); ?></td>
    <td><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c12.gif', 'Account'); ?></a></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c13.gif', ''); ?></td>
    <td><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c14.gif', 'Cart'); ?></a></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c16.gif', ''); ?></td>
    <td><a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c17.gif', 'Checkout'); ?></a></td>
    <td><?php echo tep_image(DIR_WS_IMAGES . 'header_r3_c18.gif', ''); ?></td>
    </tr>
    </table></td>
    </tr>
    </table>

    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr class="headerNavigation">
    <td class="headerNavigation">  <? php echo $breadcrumb->trail(' » '); ?></td>
    <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
    </tr>
    </table>
    <!-- header_eof //-->

    <!-- body //-->
    <table border="0" width="750" cellspacing="3" cellpadding="3">
    <tr>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
    </table></td>
    <!-- content //-->
    <td width="100%" valign="top">
    <?php
    if (isset($content_template)) {
    require(DIR_WS_CONTENT . $content_template);
    } else {
    require(DIR_WS_CONTENT . $content . '.tpl.php');
    }
    ?>
    </td>
    <!-- content_eof //-->
    <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 //-->

    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'counter.php'); ?>
    <table border="0" width="100%" cellspacing="0" cellpadding="1">
    <tr class="footer">
    <td align="center" background="images/footer_bg.gif"><?php
    /*
    The following copyright announcement can only be
    appropriately modified or removed if the layout of
    the site theme has been modified to distinguish
    itself from the default osCommerce-copyrighted
    theme.

    For more information please read the following
    Frequently Asked Questions entry on the osCommerce
    support site:

    http://www.oscommerce.com/community.php/faq,26/q,50

    Please leave this comment intact together with the
    following copyright announcement.
    */

    echo FOOTER_TEXT_BODY
    ?></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <br>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center" class="smallText">

    </td>
    </tr>
    </table>
    <?php
    if ($banner = tep_banner_exists('dynamic', '468x50')) {
    ?>
    <br>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
    </tr>
    </table>
    <?php
    }
    ?>
    <!-- footer_eof //-->
    <br>
    </body>
    </html>

Similar Threads

  1. okay so I am making the v1.7 upgrade to v2.0 guide Help me?
    By Pr0ject in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 02-01-2006, 03:01 PM
  2. HELP! MAKING NEW PAGE.
    By Thang422 in forum osCMax v2 Features Discussion
    Replies: 11
    Last Post: 10-20-2005, 07:27 AM
  3. Trouble making an account
    By Redeye_Joe in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-26-2005, 01:56 PM
  4. Making Attributes a must
    By chrisnet247 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 06-02-2004, 07:15 AM
  5. Making site with 29 products, need free template and advice
    By shiner25 in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 05-19-2004, 10:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •