brett_ferguson Posted December 31, 2003 Share Posted December 31, 2003 Okay, this is what I would like to do. From inside the includes/header.php file I want to move line 70 <?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> I want to put this into boxes/shopping_cart.php at such a point where it will make these links appear at the bottom and on the INSIDE of the outputted box. (Yes I know outputted is not a word ;) ) So far I have only been able to make it appear on the outside of the box. *Note* If you're trying this and only appear to get a couple of | vertical bars, that's because the text and your background are the same colour. :blink: Freaked me out for a minute or ten. This is what I've done so far... code is from boxes/shopping_cart.php if ($cart->count_contents() > 0) { ? ?$info_box_contents[] = array('text' => tep_draw_separator()); ? ?$info_box_contents[] = array('align' => 'right', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 'text' => $currencies->format($cart->show_total())); ?} ?new infoBox($info_box_contents); ?> <!-- copied from header.php --> <?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> ? ? ? ? ? ? <!-- eof copied from header.php --> ? </td> ? ? ? ? ?</tr> <!-- shopping_cart_eof //--> Any ideas about how to make it work? Much appreciated. Nappy New Near! Link to comment Share on other sites More sharing options...
241 Posted December 31, 2003 Share Posted December 31, 2003 have you tried moving new infoBox($info_box_contents); to the bottom after <!-- shopping_cart_eof //--> No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted December 31, 2003 Share Posted December 31, 2003 ignore the last post wrong thread No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.