Dirk Duckler Posted April 26, 2009 Posted April 26, 2009 I currently have my breadcrumbs setup as the following: Top -> Products - > Product Name I have also added several "blank addon pages" with return information, warranty, installation, etc etc. For those pages I want to create a new category for breadcrumbs to use. Example: Top -> Information -> Installation Guide I can't figure out how to go about doing this. They're still coming up like Top -> Products -> Installation Guide Suggestions anyone?
FIMBLE Posted April 26, 2009 Posted April 26, 2009 You will need to add the define to the page you have in your languages file. so if your extra page is about_us.php you should have another in your incudes/languages/english/ called about_us.php. inside this should be define('NAVBAR_TITLE', 'About us'); define('HEADING_TITLE', 'About us'); in the about_us.php file in your main directory either root or catalog you will see about line 17 $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ xxxxx)); (the xxxxx is dependant on the file you cloned) change it to $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ABOUT_US)); (or the name of the file as defined in your filenames.php) Another way would be to $breadcrumb->add(About us, tep_href_link(FILENAME_ABOUT_US)); This way you do not need to add anything to your english folder about_us page. Hope this helps you! Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Dirk Duckler Posted April 26, 2009 Author Posted April 26, 2009 I've got how to define those pages. However, that doesn't allow me to add a new category... to change "Products" to "Information" for specifically certain pages.
jhande Posted April 26, 2009 Posted April 26, 2009 I currently have my breadcrumbs setup as the following: Top -> Products - > Product Name I have also added several "blank addon pages" with return information, warranty, installation, etc etc. For those pages I want to create a new category for breadcrumbs to use. Example: Top -> Information -> Installation Guide I can't figure out how to go about doing this. They're still coming up like Top -> Products -> Installation Guide Suggestions anyone? In a standard install of osC, the links from the information box displays as - Top > About Us. Where did you add these links? Maybe compare the code from the categories box (which it seems you cloned, hence Products being displayed) with the information box. Just a thought... :huh: - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.