Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 3 of 3

Thread: How to change PHP to use buttons in navbar instead of Text?

  1. #1
    Anonymous
    Guest


    Default How to change PHP to use buttons in navbar instead of Text?

    Anyone have any suggestions

    i think i need to change the file catalog/includes/header.php just not to great at php?

    or should i just change somthin in a template?

    any help would be appreciated


    Code:
        <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>

  2. #2
    backwerd
    Guest


    Default

    Quote Originally Posted by Anonymous
    Anyone have any suggestions

    i think i need to change the file catalog/includes/header.php just not to great at php?

    or should i just change somthin in a template?

    any help would be appreciated


    Code:
        <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>
    oops wasnt logged in

  3. #3
    backwerd
    Guest


    Default Figured it out but how to hover?

    Nevermind i figured it out

    here is what i used if anyone needs help

    Code:
    <td align="right"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo tep_image(DIR_WS_BUTTONS . 'button_logoff.gif', HEADER_TITLE_LOGOFF); ?></a><?php } ?>   <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_BUTTONS . 'button_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>'?>    <?php echo '<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_BUTTONS . 'button_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>'?>    <?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_BUTTONS . 'button_checkout.gif', HEADER_TITLE_CHECKOUT) .'<a/>'?>  </td>
    however i would like to add rollovers to theese any have any ideas how i could do that?

    thx

Similar Threads

  1. Change text (MODULE_PAYMENT_AUTHORIZENET_TEXT_CVV_LINK)
    By mrgtih2 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-05-2006, 08:53 AM
  2. Change standard welcome email text
    By MikeS in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-26-2005, 01:11 PM
  3. How To Change Main Text
    By Shadeau in forum osCMax v1.7 General Mods Discussion
    Replies: 7
    Last Post: 05-22-2005, 01:48 PM
  4. Change Manufacturer Text String
    By ddecjc in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-15-2004, 07:00 AM
  5. Where to change the heading text in product_listing.php???
    By johnnyosc in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 02-18-2003, 10:32 PM

Bookmarks

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
  •