View Single Post
  #11  
Old 08-03-2009, 04:08 PM
 
trixiesirisheyes trixiesirisheyes is offline
 

Member
  
Join Date: Jul 2009
Posts: 11
 

Default Re: How do I remove Company Name & Phone number from head?

Quote:
Originally Posted by cflsystems
Original 4.2.1 code. Do not copy/paste as yours could be different depending on version and mods. I don't see company name in the original code, unless you are talking abou the company logo

Code:
{* $Id: head.tpl,v 1.12 2008/11/21 07:49:55 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} <div class="line1"> {* REMOVE COMPANY LOGO <div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/xlogo.gif" alt="" /></a></div> REMOVE COMPANY LOGO *} {if $speed_bar} <div class="tabs"> <ul> {foreach from=$speed_bar item=sb} <li><a href="{$sb.link|amp}">{$sb.title}</a></li> {/foreach} </ul> </div> {/if} {* REMOVE COMPANY PHONE NUMBERS <div class="phones"> {if $config.Company.company_phone} <span>{$lng.lbl_phone_1_title}: {$config.Company.company_phone}</span> {/if} {if $config.Company.company_phone_2} <span>{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}</span> {/if} </div> REMOVE COMPANY PHONE NUMBERS *} </div> <div class="line2"> {if $main ne "fast_lane_checkout"}

Broken all to heck. I think that's because your code looks like this:

Code:
{* REMOVE COMPANY LOGO <div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/xlogo.gif" alt="" /></a></div> REMOVE COMPANY LOGO *}

and before I put in the comments, my code looked like this:

Code:
<div class="logo"> <div class="logo1"> <a onclick="$('#hr_menu').hide();" href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/custom/company_logo.gif" alt="" /></a> </div>

You'll note the JavaScript "Onclick" in my code.

Here's the website, so you can see what's wrong:
teambreaksbarriers.com
__________________
XCart 4.2/XCart Affiliate
Reply With Quote