View Single Post
  #4  
Old 08-03-2009, 10:17 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

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

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"} <div class="search"> <div class="valign-middle"> <form method="post" action="search.php" name="productsearchform"> <input type="hidden" name="simple_search" value="Y" /> <input type="hidden" name="mode" value="search" /> <input type="hidden" name="posted_data[by_title]" value="Y" /> <input type="hidden" name="posted_data[by_descr]" value="Y" /> <input type="hidden" name="posted_data[by_sku]" value="Y" /> <input type="hidden" name="posted_data[search_in_subcategories]" value="Y" /> <input type="hidden" name="posted_data[including]" value="all" /> {strip} <span class="search">{$lng.lbl_search}:</span> <input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" /> {include file="customer/buttons/button.tpl" type="input" style="image"} <a href="search.php" class="search">{$lng.lbl_advanced_search}</a> {/strip} </form> </div> </div> {if $all_languages_cnt gt 1} <div class="languages"> <form action="home.php" method="get" name="sl_form"> <input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}{if $smarty.server.QUERY_STRING}?{$smarty.server.QUERY_STRING|amp}{/if}" /> {strip} <label>{$lng.lbl_select_language}: <select name="sl" onchange="javascript: this.form.submit();"> {foreach from=$all_languages item=l} <option value="{$l.code}"{if $store_language eq $l.code} selected="selected"{/if}>{$l.language}</option> {/foreach} </select> </label> {/strip} </form> </div> {/if} {else} {include file="modules/Fast_Lane_Checkout/head.tpl"} {/if} </div> <div class="line3"> {if $printable_link_visible} <div class="printable-bar"> <a href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&amp;{$php_url.query_string|amp}{/if}">{$lng.lbl_printable_version}</a> </div> {/if} </div>
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote