Snowman Posted February 27, 2003 Share Posted February 27, 2003 Im wondering if there is an easy way to utilise the breadbrumb setup to follow non osCommerce pages... I am working on a site which has a lot of subdirectories with viewable pages in them. I want to be able to utilise the breadcrumb to show the path.. ie Home >> SubCat1 >> Sub Cat2 >> name of page etc... can this be done and how??? Ive never really gotten the hang of the breadcrumb? Link to comment Share on other sites More sharing options...
Snowman Posted February 27, 2003 Author Share Posted February 27, 2003 I guess basically what im wanting to do is to build a cms out of osCommerce Link to comment Share on other sites More sharing options...
westkoast Posted February 27, 2003 Share Posted February 27, 2003 put it at the begining of the page in the php, and it will add a "> page" to whatever pages you do it too... However its hard to get rid of the "store" or "catalog" what ever you name the intermediate folder because it is done in Application top, and if you remove it there it will be removed site wide. I need to read the rules more often... Link to comment Share on other sites More sharing options...
westkoast Posted February 27, 2003 Share Posted February 27, 2003 <?php require('includes/application_top.php'); $breadcrumb->add(NAVBAR_TITLE_ABOUT_US, tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL')); ?> do something like that at the top of non-osc pages make sure you define the NAVBAR_TITLE_ABOUT_US, and the FILENAME_ABOUT_US this example if for the "about us" page. I need to read the rules more often... Link to comment Share on other sites More sharing options...
Snowman Posted February 27, 2003 Author Share Posted February 27, 2003 Yeah i know how to get pages on one level to work, but i want to be able to drill down, much like the catalog, however i want to drill down thru subfolders of my site. Link to comment Share on other sites More sharing options...
westkoast Posted February 27, 2003 Share Posted February 27, 2003 Yeah i know how to get pages on one level to work, but i want to be able to drill down, much like the catalog, however i want to drill down thru subfolders of my site. You need to start from the root then...and "drill upwards" just use the technique in applictiontop.php I need to read the rules more often... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.