I'd like to remove the Home from "Only" the first main page.
Can't seem to find the place or settings to change this.
tpl_index_default.php only allows editing UNDER that item.
hope someone can help me out, seems so simple
I'd like to remove the Home from "Only" the first main page.
Can't seem to find the place or settings to change this.
tpl_index_default.php only allows editing UNDER that item.
hope someone can help me out, seems so simple
If your using v1.3.0.1
In YOUR_TEMPLATE -> common -> tpl_header.php
find this
and replace it withCode:<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a></li>
This will remove HOME on the main page onlyCode:<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <?php if ($current_page!='index') { ?> <li><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php } ?>
--------
Sorry you meant the breadcrumb I'll post again with the code for that.
Last edited by clydejones; 13 May 2006 at 08:09 AM.
Here the code to remove the breadcrumb on the main page only
in YOUR_TEMPLATE -> common -> tpl_main_page.php fine
and replace it withCode:<!-- bof breadcrumb --> <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div> <!-- eof breadcrumb -->
This removes the breadcrumb on the main page onlyCode:<!-- bof breadcrumb --> <?php if (DEFINE_BREADCRUMB_STATUS == '1' && ($current_page!='index' || (int)$cPath>0 )) { ?> <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div> <?php } ?> <!-- eof breadcrumb -->
thanks so much i figured out why I didn't even have a tpl_main_page.php
I am customizing my own template and i copied files from classic instead of from template_default
anyways thanks so much for your time =D
Not at all, glad to be of help
Originally Posted by clydejones
Any idea how you would modify this to remove it from the top level category page too? I have mine open directly in a category so no point in having that in the breacrumb either. Thanks!
i'm really new to zencart but i might be able to help if i understood you...
any chance for a screen shot? not exactly sure where or what you are refering to
Question: How would you do the opposite? Like you have something that you want to show only on a particular page and not any where else.
Thanks!
Zen-Cart, The Greatest Shopping Cart!
I believe you can just edit the individual page.Originally Posted by GearStudios
Each page has a unique template kinda not counting the header and footer.
If your making your own template, make sure you copy everything over.
Check the folders "Common" and template" should have most of them.
Works like a charm, but it also removes the breadcrumb for the Manufacturers page... Is there any way I can remove it on the front page but keep it on the Manufacturers page?