v-funk Posted February 19, 2004 Posted February 19, 2004 I sucessfully made a new page following the intructions in WIKI & on the forum, by copying shipping.php etc. etc. Worked fine, let's call the new file "about_us.php" now I want to link another new file from the about us page - let's call that one "enquire.php" - but I want the breadcrumbs to read Home>About Us> Enquire instead of just Home>Enquire which is what I'm getting. Is there any way of configuring the breadcrumbs on the enquire.php file so it will follow the right path???
devosc Posted February 19, 2004 Posted February 19, 2004 If I'm understanding you, then you should be able to add another 'item' to the breadcrumb trail, so you would have two breadcrumb declarations in you sub-level file i.e $breadcrumb->add( 'ABOUT US', HTTP_SERVER); $breadcrumb->add( 'ENQUIRE', tep_href_link(FILENAME_DEFAULT)); (the example is from application_top.php, so need to sort the links out). "Any fool can know. The point is to understand." -- Albert Einstein
v-funk Posted February 19, 2004 Author Posted February 19, 2004 Great, Thankyou that put me on the right track In the enquire.php file I added the line $breadcrumb->add( 'About Us', tep_href_link(FILENAME_ABOUT_US)); above where it says $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ENQUIRE)); & it worked! :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.