Zen Cart Logo
Forums / General Questions / Home Link Header Logo on the Left AHHH!!!

Home Link Header Logo on the Left AHHH!!!

Locked

Views: 1,670

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Mar 2007, 6:44 AM
#1
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Home Link Header Logo on the Left AHHH!!!

I would like to remove the Home link and logo in header.
I tried to remove it when I first started here with zen. It pretty much went away. Dont remember how. I can not find my exact answer here ANYWHERE.

All I want to do is completely remove the image frame and the text inside of it that says [HOME LINK] . Any help Please.

If you think you might not know what im talking about please stop in and look closely over top of the black car on the top left.

Really Really Really want it gone. Have tried my hand with mytemp/ common/ header.php and have gotten nowhere. Have also toyed with a few others and still nothing.
Thank You,
John

24 Mar 2007, 10:53 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Home Link Header Logo on the Left AHHH!!!

It appears that you have made an edit to header.php resulting in "home_link" displaying as this should be "Home"
Locate and copy header.php to includes/languages/english/silverfish/header.php and find this line in in that file:

define('HEADER_TITLE_CATALOG', 'Home');

Edit this to remove the text leaving the single quotes

define('HEADER_TITLE_CATALOG', '');

This should get what you want

24 Mar 2007, 3:36 PM
#3
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Home Link Header Logo on the Left AHHH!!!

Well that worked. Was the wrong Home link but it did make a change.
Im looking to change the one that comes with Zen Cart. The one in the top left corner. Not the one that says "HOME". There is another if you look that says "Home Link". Thats what Id like to remove.
Thank You,
John

24 Mar 2007, 4:16 PM
#4
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Home Link Header Logo on the Left AHHH!!!

bumba000:

Well that worked. Was the wrong Home link but it did make a change.
Im looking to change the one that comes with Zen Cart. The one in the top left corner. Not the one that says "HOME". There is another if you look that says "Home Link". Thats what Id like to remove.
Thank You,
John

That's probably in your includes/templates/YOUR_TEMPLATE/common/tpl_header.php

If you remove the:
<a href="http://www.stompaudio.com/"><img src="includes/templates/silverfish/images/" alt="[home link]" title=" [home link] " id="logo"></a>

That will remove the link.

If you remove this whole section:
<a href="http://www.stompaudio.com/"><img src="includes/templates/silverfish/images/" alt="[home link]" title=" [home link] " id="logo"></a> <div id="tagline"></div>

That will get rid of the link, and the small lighter blue section between the search bar and the logo.

24 Mar 2007, 5:00 PM
#5
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Home Link Header Logo on the Left AHHH!!!

Okay. thank you but that wasnt it. That isnt even in there anywhere.
I found this and it worked.
Includes/templates/mytemp/common/header.php

<!--bof-branding display-->

<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, '','', 'id="logo"' ) . '</a>'; ?>

<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <?php if (HEADER_SALES_TEXT != '') {?> <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div> <?php } ?> <?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div> <?php } } ?> <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?> <!--eof-branding display-->

That is what needed to come out.

Thank You ALL Very Much.
John