Hide Breadcrumb on index.php
Posted: Tue Oct 12, 2021 9:56 am
Hide Breadcrumb on index.php only.
What's the best/easiest way to do this?
I modified core file cm_header_breadcrumb.php by adding
This worked so I copied that file to /templates/override/modules/content/header/ which I expected to work but does not - have I done something wrong here?
Must I create a new module to do this or could/should this be done with a hook? If so, how?
Any pointers appreciated.
What's the best/easiest way to do this?
I modified core file cm_header_breadcrumb.php by adding
Code: Select all
if(basename($PHP_SELF) == 'index.php' && $cPath == '' && !isset($_GET['manufacturers_id'])) {
echo '';
}else{Must I create a new module to do this or could/should this be done with a hook? If so, how?
Any pointers appreciated.