LewisM Posted May 13, 2011 Share Posted May 13, 2011 I'm trying to put a blog link onto the navigation bar (on the default install where the 'Top > Catalogue' is I think). I've gone into includes/filenames.php and added the code: define('FILENAME_BLOG', 'http://www.blog.-------.co.uk'); Then into includes/languages/english.php and added this (only added the bottom line): // header text in includes/header.php define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account'); define('HEADER_TITLE_MY_ACCOUNT', 'My Account'); define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents'); define('HEADER_TITLE_CHECKOUT', 'Checkout'); define('HEADER_TITLE_TOP', 'Top'); define('HEADER_TITLE_CATALOG', 'Catalog'); define('HEADER_TITLE_LOGOFF', 'Log Off'); define('HEADER_TITLE_LOGIN', 'Log In'); define('HEADER_TITLE_BLOG', 'Blog'); (I left the extra bit of code in there to (hopefully) make it a bit clearer what I mean by 'NavBar'.) But now I'm a bit confused; where do I go from here? TL;DR - How do you add what would normally be a page link, but instead make it a link to an offsite page? Thanks! Link to comment Share on other sites More sharing options...
LewisM Posted May 13, 2011 Author Share Posted May 13, 2011 Sorry to bump my own thread, any suggestions? Link to comment Share on other sites More sharing options...
germ Posted May 13, 2011 Share Posted May 13, 2011 /catalog/includes/application_top.php Find this code: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); JUST IN FRONT OF THAT CODE ADD THIS CODE: $breadcrumb->add(HEADER_TITLE_BLOG, FILENAME_BLOG); Backup the file before making any edits. You break it - You bought it... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.