robkwal Posted July 15, 2011 Share Posted July 15, 2011 Hi all, Thanks for looking at my thread for help, I would like to remove the current location from the breadcrumb.tpl. As I don't think it is necessary with a page header! Link to comment Share on other sites More sharing options...
shokinro Posted July 17, 2011 Share Posted July 17, 2011 there is theme file called breadcrumb.tpl under your theme folder try to comment out all contents or just empty the file. Link to comment Share on other sites More sharing options...
robkwal Posted July 17, 2011 Author Share Posted July 17, 2011 Sorry I think you have miss understood my question, I only want to remove the current location from the breadcrumb. For example if I am viewing a Ipod the bradcrumb would be as follows: home/ipods/ipodI would like it to read home/ipodsThanks Link to comment Share on other sites More sharing options...
shokinro Posted July 17, 2011 Share Posted July 17, 2011 the product page controller, there is a following line 'path' => Tools::getPath((int)$category->id, $this->product->name, true), If you change this line to below, it will be at your request. 'path' => Tools::getPath((int)$category->id, '', true), Link to comment Share on other sites More sharing options...
robkwal Posted July 17, 2011 Author Share Posted July 17, 2011 Sorry again, I would like where ever my location is to be gone, so if i'm in the cat it reads home/cat i would like it to read home on so on! Link to comment Share on other sites More sharing options...
shokinro Posted July 17, 2011 Share Posted July 17, 2011 does the above modification I posted worked for you?Here is the guide lines.The path is generated in Tool::getPath method.In each path, the page controller, call this method to decided the path.and then set to smarty 'path" variable.hope you can figure out how make changes for all requirements.You can look into to modify the core method Tools::getPath() method Link to comment Share on other sites More sharing options...
DapurPixel Posted July 18, 2011 Share Posted July 18, 2011 Hi .., if you want to delete the path home-> Ipod-> etc, you live just delete the script in a file breadcumbs.tpl. Please try: D Link to comment Share on other sites More sharing options...
Recommended Posts