Is there a simple way to remove "home" in the footer?
Thanks!
Is there a simple way to remove "home" in the footer?
Thanks!
Would have to edit a copy of the tpl_footer.php file and REM the code for it out
Zen-Venom Get Bitten
Hi All, my first post here, only just started playing with zen today.
I have exactly the same question. [millions more too....hehe]
I really don't need that extra home breadcrumb thingy at the foot of the page.
What do I edit in the file ? I have no idea what to look for.
Mark
Just a suggestion as you have just started is to concern yourself more with functionality at first and less about the design and looks plenty of time to refine that once you have determined that this script is what will do the things you needOriginally Posted by wheelock
The tutorial/FAQ's link at the top of this page are a resource for the many initial things you might be seeking
Zen-Venom Get Bitten
I agrree, I just wanted to have a go to see how close i could get it to my html site.
Seem to be winning thus far...
seeing that little 'home' at the bottom bugs me though,
Especially as i cant seem to find out how to get rid of it!
found lots of answers to things searching about but not that.
I am not going to concentrate on totally honing its appearance it was more a toe in the water,
I fully intend to get suck into the functionality aspects next.
But a pointer about the 'issue' in question would be nice...pretty please,hehe
Thanks
Mark
Well I opened the tpl footer file and played around to see what did what.
And found that by removing this :echo HEADER_TITLE_CATALOG;
From this section:
<!--bof-navigation display -->
<div id="navSuppWrapper">
<div id="navSupp">
<ul>
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
<?php } ?>
</ul>
</div>
</div>
<!--eof-navigation display -->
Did the the job.
But I have no idea what I have actually removed
Sort of trial and error stuff.
Love to know what it is I have done , hahaha.
Mark
You need to look at how to create a template and how overrides function
https://www.zen-cart.com/tutorials/i...hp?article=142
https://www.zen-cart.com/tutorials/index.php?article=36
Once you know this grab a COPY of includes/templates/template_default/common/tpl_footer.php and look for and add rem tags as highlighted and place the edited copy in your template override dir
Code:<!--bof-navigation display --> <div id="navSuppWrapper"> <div id="navSupp"> <ul> /** <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> */
Zen-Venom Get Bitten
Thanks for the links, though I had already made up a custom template for this.
I took the whole line out at you highlighted too.
Nice to have that 'home' gone, nice and clean now
Mark
I always do what Kobra says, as his posts have helped my so many times in the past. However, using the PHP-comment in the above didn't work for me. But commenting-out the HTML did work, thus:
Code:<!--bof-navigation display --> <div id="navSuppWrapper"> <div id="navSupp"> <ul> <!-- <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> -->
Giro26,
Thanks for correcting this and sharing!!
Zen-Venom Get Bitten