osCmax v2.5 User Manual
Results 1 to 2 of 2

Quick questions...

This is a discussion on Quick questions... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, I have a couple of quick mod questions... 1. Currently in my catagories box, it shows the number of ...

      
  1. #1
    Lurker
    Join Date
    Dec 2002
    Posts
    2
    Rep Power
    0


    Default Quick questions...

    Hello, I have a couple of quick mod questions...

    1. Currently in my catagories box, it shows the number of products listed in each catagory...I would love to remove this =)

    2. During modification, I seemed to have removed the snippet of code required to show the 'new account | login | logout' in the upper header...If I could get this snippet of code, that would be great =)

    Thanks,
    Fatbrain

  2. #2
    Member
    Join Date
    Nov 2002
    Location
    Pennsylvania
    Posts
    93
    Rep Power
    0


    Default

    To remove the counts displayed you need to edit your application_top.php file located in 'includes/application_top.php'

    around line 148 change to 'FALSE'

    that snippet of code is located in the header.php file.

    however here it is

    Code:
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr class="header">
        <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce'); ?></td>
        <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
      </tr>
    </table>
    <table border="0" width="100%" cellspacing="0" cellpadding="1">
      <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, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
      </tr>
    </table>

Similar Threads

  1. 2 V.Quick questions - Text and Category Column Width
    By PurdiceLTD in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 11-17-2005, 02:05 AM
  2. Quick 2 Questions About Boxes
    By k3nstar in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-29-2005, 08:24 AM
  3. Quick CVV mod question
    By goaskmom in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 11-28-2004, 03:35 PM
  4. Quick Question...
    By horsewhip in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 09-02-2004, 05:51 AM
  5. One more quick ??
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 02-16-2004, 01:19 PM

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
  •