Forums / Templates, Stylesheets, Page Layout / remove "home" in footer

remove "home" in footer

Locked

Views: 4,691

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
29 Jun 2008, 12:04 AM
#1
prs317 avatar

prs317

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!

29 Jun 2008, 1:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: remove "home" in footer

Would have to edit a copy of the tpl_footer.php file and REM the code for it out

Zen-Venom Get Bitten

29 Jun 2008, 4:27 PM
#3
wheelock avatar

wheelock

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Re: remove "home" in footer

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

29 Jun 2008, 8:23 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: remove "home" in footer

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

29 Jun 2008, 8:39 PM
#5
wheelock avatar

wheelock

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Re: remove "home" in footer

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

29 Jun 2008, 8:57 PM
#6
wheelock avatar

wheelock

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Re: remove "home" in footer

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 :shocking:

Sort of trial and error stuff.

Love to know what it is I have done , hahaha.

Mark

29 Jun 2008, 8:59 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: remove "home" in footer

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

29 Jun 2008, 9:23 PM
#8
wheelock avatar

wheelock

New Zenner

Join Date:
Jun 2008
Posts:
16
Plugin Contributions:
0

Re: remove "home" in footer

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

21 Jan 2009, 8:20 PM
#9
giro26 avatar

giro26

New Zenner

Join Date:
Aug 2008
Location:
USA
Posts:
10
Plugin Contributions:
0

Re: remove "home" in footer

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=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> */ ```

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> -->
21 Jan 2009, 9:52 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: remove "home" in footer

Giro26,

Thanks for correcting this and sharing!!

Zen-Venom Get Bitten

20 May 2009, 12:22 AM
#11
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: remove "home" in footer

<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..

28 May 2009, 7:25 PM
#12
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: remove "home" in footer

But can I just ask how to keep the copyright stuff below that - it all disappears..

Any ideas on this at all guys?

13 Apr 2010, 9:32 PM
#13
oregonbum avatar

oregonbum

New Zenner

Join Date:
Sep 2004
Location:
Southern Oregon
Posts:
23
Plugin Contributions:
0

Re: remove "home" in footer

Even easier - use your CSS file & add the following. No templates to modify & the copyright stays in-tact.

#navSuppWrapper{
display: none;
}

28 May 2010, 1:14 AM
#14
creation avatar

creation

New Zenner

Join Date:
May 2010
Location:
South Coast of NSW Australia
Posts:
57
Plugin Contributions:
0

Re: remove "home" in footer

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!