Guest Posted April 18, 2008 Posted April 18, 2008 Hi everyone, Im fairly new at all this and am addicted already. I have hit a wall though. I want to add 2 links to my heaer but cannot find an appropriate thread to help. I followed one I found but to no avail. I want my header to look somewhat like this: Login | Gallery | Forum | My Account | Cart Contents | Checkout Here is my site: www.tearbears.com.au Can somebody please tell me ALL the files I need to change and if you know the code to use that would be awesome!!! Thanks in advance!! Michelle
FIMBLE Posted April 18, 2008 Posted April 18, 2008 Good morning Are the links pointing to another site or a page in OSC you have made? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted April 18, 2008 Posted April 18, 2008 Hi Nic, Thanks for your fast relpy :) The links are for files I have uploaded to my www root directory. Michelle
FIMBLE Posted April 18, 2008 Posted April 18, 2008 at around line 64 in your header.php is the line below, you need to edit to suit your needs <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> Regards Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted April 18, 2008 Posted April 18, 2008 I did that before and nothing happened. Is there more files I need to add code? I changed a total of 3 files earlier when I followed another thread but it didnt work. Im wondering if I changed too many files or not enough?? Thanks for all your help Nic Michelle
FIMBLE Posted April 18, 2008 Posted April 18, 2008 if you are adding the pages to OSC you need to add to English.php filenames.php and the box / heading you want the link to appear. in addition you obviously need to create the new pages, one in languages and one in root Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted April 18, 2008 Posted April 18, 2008 ok, it's the one in languages I didn't have. I'll give it a go and let you know. Thanks so much for your help and patience!! Michelle
FIMBLE Posted April 18, 2008 Posted April 18, 2008 You're welcome Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.