Danny87 Posted July 24, 2005 Share Posted July 24, 2005 Hello :) For the past few hours ive been messing around with oscommerce trying to achieve a few things and could do with a touch of help. First of all the site i'm configuring is Here As you can see i have made a few changes to the layout and also changed the way a few things have been worded eg the links in the header. --------------------------- The Questions --------------------------- 1) How can i add an additional link to the header bar to the right of where it says "Log In". I want to add a link saying "Create Account" linking to http://www.networkingsupplies.co.uk/create_account.php . So Basically i want it to look like: Create Account | Log In | Shopping Cart | Checkout (I'm going to be removing the "Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?" 2) If you look at the left of the header it where it says Home ? Catalog What is the "Catalog" bit for? (It just points to the same place as the "Home (Previously "Top") does it have to be there? if not how can i remove it?(my guess is its there for when the store isnt in the home directory, but thats my guess LOL I think thats all i needed help with at the moment. oh yes, BTW i have no PHP knollege at all so any code you include that i can copy and paste will be really aprreciated (sp?) :) PS. 1) Theres no SSL cert as the site isnt going live for at least another month, and when it dooes go live it will be on another host so i'll be getting it then. (I'm just getting it out of the way now (lets face it i'll need a month at this rate :lol: ) 2) Yes i know its pretty much the standard layout but i dont have the knollege to create a new template, so i just changed the CSS to some colours i think work. 3) I did try and search but the minimum of 4 letter search words got in the way, this features so anoying, hint hint :-" 4) I would really like to thank you for your time :thumbsup: Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2005 Share Posted July 25, 2005 You would do better to create a 'Log In' link :D In /includes/header.php to I have mine like this (there is an extra link to a FAQ also): <td align="right" class="headerNavigation"><a href="<?php echo tep_href_link(FILENAME_FAQ); ?>" class="headerNavigation"><?php echo BOX_INFORMATION_FAQ; ?></a> | <?php if (!tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGIN); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGIN; ?></a> | <?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> | <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <?php } ?><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> For your second question, you can remove this line in /includes/application_top.php: $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); Matti Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.