X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   remove logo (https://forum.x-cart.com/showthread.php?t=25074)

qwerty 09-19-2006 12:12 PM

remove logo
 
can any one tell me how to remove the company logo have taken out company_logo from head.tlp but i get a white box with an x in it

balinor 09-19-2006 12:43 PM

Re: remove logo
 
You sure you removed the image? You need to remove this whole bit of code from head.tpl:

<A href="{$http_location}"><IMG src="{$ImagesDir}/xlogo.gif" width="244" height="67" border="0"></A>

qwerty 09-19-2006 12:58 PM

Re: remove logo
 
hi rmove the line that you said but still the same my head.tlp is as follows
{* $Id: head.tpl,v 1.40.2.4 2005/11/15 09:25:38 max Exp $ *}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD width="27">&nbsp;</TD>
</TD><TD>
<TD valign="top" align="right">
{if $usertype eq "C"}
{include file="customer/top_menu.tpl"}
{/if}
</TD></TR>
</TABLE>
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD colspan="2" class="VertMenuBorder"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" border="0"></TD>
</TR>
<TR>
<TD class="HeadLine" height="22">
{if #ShowHorCategories# ne "Y"}
{ include file="customer/search.tpl"}
{else}
{ include file="customer/hor_categories.tpl"}
{/if}
</TD>
<TD class="HeadLine" align="right">
{if ($usertype eq "C" || $usertype eq "B")and $all_languages_cnt gt 1}
<TABLE border="0" cellpadding="0" cellspacing="0">
<FORM action="home.php" method="GET" name="sl_form">
<INPUT type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING|escape}">
<TR>
<TD>
<B>{$lng.lbl_select_language}:&nbsp;</B>
<SELECT name="sl" onChange="javascript: document.sl_form.submit()">
{section name=ai loop=$all_languages}
<OPTION value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected{/if}>{$all_languages[ai].language}</OPTION>
{/section}
</SELECT>
</TD></TR>
</FORM>
</TABLE>
{else}
&nbsp;
{/if}
</TD>
</TR>
<TR>
<TD colspan="2" class="VertMenuBorder"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" border="0"></TD>
</TR>
{******** Remove this line to display how much products there are online ****
<TR>
<TD colspan="2" class="NumberOfArticles" align="right">{insert name="productsonline"} {$lng.lbl_products} {if $config.Appearance.show_in_stock eq "Y"}{$lng.lbl_and} {insert name="itemsonline"} {$lng.lbl_items} {/if}{$lng.lbl_online}&nbsp;</TD>
</TR>
**** Remove this line to display how much products there are online ********}
<TR>
<TD colspan="2" valign="middle" height="32">
<TABLE cellspacing="0" cellpadding="0" border="0" width="100%" height="18">
<TR>
<TD><IMG src="{$ImagesDir}/spacer.gif" width="1" height="18" border="0"></TD>
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}
<TD width="100%" valign="middle" align="right">{include file="printable.tpl"}</TD>
<TD><IMG src="{$ImagesDir}/spacer.gif" width="176" height="1" border="0"></TD>
{/if}
</TR>
</TABLE>
</TD>
</TR>
</TABLE>

balinor 09-19-2006 01:02 PM

Re: remove logo
 
Well, part of your problem could be this:

<TD width="27">&nbsp;</TD>
</TD><TD>

You've got an extra closing <td> tag in there...you must have nuked the opening one by mistake when you took out the logo.

qwerty 09-19-2006 01:14 PM

Re: remove logo
 
ok removed that line but still the same if i click the white box with the x it takes me back to my home page you can see what i mean if you have a look at www.computer-outlet.co.uk/shop

balinor 09-19-2006 01:17 PM

Re: remove logo
 
Make sure you are editing the right template...for a custom skin it may be a diffferent template, as that image it is looking for is:

http://www.computer-outlet.co.uk/shop/skin1/images/custom/company_logo.gif

qwerty 09-19-2006 01:26 PM

Re: remove logo
 
might need to take a ticket with x-cart

balinor 09-19-2006 01:28 PM

Re: remove logo
 
Just open up the site in Webmaster Mode and see which template it is calling.

qwerty 09-19-2006 01:36 PM

Re: remove logo
 
sorry new to all this i no how to start webmaster mode but dont no how to use it

balinor 09-19-2006 01:39 PM

Re: remove logo
 
Ok, open up the customer side in Webmaster mode. A little box will pop up with all the names of the templates. As you move your mouse over sections of the page, the corresponding template will highlight in the little pop-up box, or, if you move your mouse over a template name, it will outline that template on the web site. Make sense?


All times are GMT -8. The time now is 11:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.