R.Kinkeris Posted April 2, 2013 Share Posted April 2, 2013 (edited) Hello, Any ideas how not to show breadcrumb on specific pages? Best regards, Reinis Edited April 4, 2013 by R.Kinkeris (see edit history) Link to comment Share on other sites More sharing options...
cocothecat Posted April 3, 2013 Share Posted April 3, 2013 What sort of pages? Link to comment Share on other sites More sharing options...
R.Kinkeris Posted April 3, 2013 Author Share Posted April 3, 2013 Well at the moment default is that I can see breadcrumb on every page except home. And I would like to add few more exceptions but can't find a way how. Link to comment Share on other sites More sharing options...
cocothecat Posted April 3, 2013 Share Posted April 3, 2013 You don't need the breadcrumb at home as you have not gone anywhere... Where don't you want the breadcrumbs to show? Link to comment Share on other sites More sharing options...
R.Kinkeris Posted April 3, 2013 Author Share Posted April 3, 2013 @cocothecat: You got me wrong. my breadcrumb is working perfectly. All I want to do is to remove it from few other specific pages. So the breadcrumb don't show up just like in home. Link to comment Share on other sites More sharing options...
cocothecat Posted April 3, 2013 Share Posted April 3, 2013 I don't think you understand me. WHAT pages do you NOT want it to display on? Link to comment Share on other sites More sharing options...
R.Kinkeris Posted April 3, 2013 Author Share Posted April 3, 2013 For example on all category pages. Link to comment Share on other sites More sharing options...
cocothecat Posted April 3, 2013 Share Posted April 3, 2013 (edited) ok so open category.tpl and remove {include file="$tpl_dir./breadcrumb.tpl"} is the simplest way Edited April 3, 2013 by cocothecat (see edit history) Link to comment Share on other sites More sharing options...
R.Kinkeris Posted April 3, 2013 Author Share Posted April 3, 2013 Can't do that. Its included somehow differently because for example category.tpl doesn't contain any line which refers to breadcrumb Link to comment Share on other sites More sharing options...
cocothecat Posted April 3, 2013 Share Posted April 3, 2013 yeah it does. Category.tpl has that line within it line 27 of the default theme Link to comment Share on other sites More sharing options...
R.Kinkeris Posted April 3, 2013 Author Share Posted April 3, 2013 (edited) Then looks like my theme implements it differently. Edited April 3, 2013 by R.Kinkeris (see edit history) Link to comment Share on other sites More sharing options...
cocothecat Posted April 3, 2013 Share Posted April 3, 2013 (edited) if breadcrumb is showing on the category page, id imagine its within there someplace its an include referance you just need to look at the code :/ Edited April 3, 2013 by cocothecat (see edit history) Link to comment Share on other sites More sharing options...
Bruna BSPCU Posted April 3, 2013 Share Posted April 3, 2013 Go to prestashop>themes>yourtheme>breadcrumb.tpl and add this: (example of not showing breadcrumb on Contact Page) <div class="breadcrumb" {if $page_name=='contact-form'}style="display:none;" {/if}> It helps? Link to comment Share on other sites More sharing options...
R.Kinkeris Posted April 4, 2013 Author Share Posted April 4, 2013 Big thanks to Bruna BSPCU. Exactly what I needed.Marking as solved. 1 Link to comment Share on other sites More sharing options...
Bruna BSPCU Posted April 4, 2013 Share Posted April 4, 2013 It is a pleasure to help R.Kinkeris! Link to comment Share on other sites More sharing options...
Recommended Posts