hi10key Posted March 30, 2005 Share Posted March 30, 2005 Hi, I'm really struggling through this customization of oscommerce...I've been trying to read the knowledge base and search the contributions and the forums for every little thing I've been changing, but I'm now stuck on this. Can anyone advise me as to how I would insert my own header with links on it? That is, I don't want just a single graphic that goes to the homepage. I'd like to be able to put in my already existing menu on my current HTML only site. You can see the menu here. Any help or direction would be greatly appreciated! Thank you! Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 30, 2005 Share Posted March 30, 2005 The file you want to modify is header.php , located in the includes folder Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
hi10key Posted March 30, 2005 Author Share Posted March 30, 2005 Yes, thanks, but I do understand that that is the file I need to modify. My question is more specific - I'm trying to figure out if I can just plop some HTML code with links in the header file, and if so, what code I need to delete and what code I need to leave in the original file. Thanks. Link to comment Share on other sites More sharing options...
hi10key Posted March 31, 2005 Author Share Posted March 31, 2005 Anyone? :'( I was finally able to get a header up there by removing the whole oscommerce image part and just plopping in some HTML but I don't think this is the right way to do it...So now my header.php code looks like this: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <IMG border="0" src="http://www.grumpy-girl.com/images/headers/headerretro.gif" width="788" height="103"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <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> </tr> </table> I haven't added any links yet, though, because when I tried adding more HTML in the text part of the index.php file, it didn't like that at all... :( I'm wondering if I need to incorporate the HTML in a different manner. I read somewhere that you can create a separate HTML file, the do something like <? Include ("filename.htm"); ?> I tried that, too, but I couldn't get that to work, either. I know I'm a clueless newbie, but I'm at wit's end on this...If anyone could even just give me a really general reply like "No, you can't plop the HTML code in there like that!" or something, I'd really appreciate it. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.