New Zenner
- Join Date:
- Jun 2008
- Posts:
- 45
- Plugin Contributions:
- 0
remove "home" in footer
Is there a simple way to remove "home" in the footer?
Thanks!
Views: 4,691
New Zenner
Is there a simple way to remove "home" in the footer?
Thanks!
Black Belt
Would have to edit a copy of the tpl_footer.php file and REM the code for it out
Zen-Venom Get Bitten
New Zenner
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
Black Belt
wheelock:
Hi All, my first post here, only just started playing with zen today.
I have exactly the same question. [millions more too....hehe]
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 need
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
New Zenner
kobra:
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 need
The tutorial/FAQ's link at the top of this page are a resource for the many initial things you might be seeking
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
New Zenner
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:
Did the the job.
But I have no idea what I have actually removed :shocking:
Sort of trial and error stuff.
Love to know what it is I have done , hahaha.
Mark
Black Belt
You need to look at how to create a template and how overrides function
https://www.zen-cart.com/tutorials/index.php?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
<!--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
New Zenner
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:cool:
Mark
New Zenner
<!--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> */ ```kobra:
You need to look at how to create a template and how overrides function
https://www.zen-cart.com/tutorials/index.php?article=142
https://www.zen-cart.com/tutorials/index.php?article=36Once 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
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:
<!--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> -->
Black Belt
Giro26,
Thanks for correcting this and sharing!!
Zen-Venom Get Bitten
Zen Follower
<li><?php /* echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?> <?php echo HEADER_TITLE_CATALOG; ?></a></li> */
This did it for me - thanks. But can I just ask how to keep the copyright stuff below that - it all disappears..
Zen Follower
But can I just ask how to keep the copyright stuff below that - it all disappears..
Any ideas on this at all guys?
New Zenner
Even easier - use your CSS file & add the following. No templates to modify & the copyright stays in-tact.
#navSuppWrapper{
display: none;
}
New Zenner
Hi
I followed the instructions to remove the '<li> etc and replace with new code so that I could change the link from
http:/www.creationsdelphine.com/catalogue (the zen pages) to https://www.creationsdelphine.com 9The main home pages)
It worked in that it changed the name from Home to HOMEPAGES
and added the correct link... problem is that the .../catalogue link is there also
Any help appreciated as I have obviously done something wrong!
Tell staff why this post should be reviewed.