PDA

View Full Version : How to change PHP to use buttons in navbar instead of Text?



Anonymous
03-10-2004, 05:11 PM
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




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

backwerd
03-10-2004, 05:40 PM
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




<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

backwerd
03-16-2004, 09:58 PM
Nevermind i figured it out

here is what i used if anyone needs help



<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