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)
-   -   Help finding where to edit the following... (https://forum.x-cart.com/showthread.php?t=11532)

tom7678 01-17-2005 09:26 PM

Help finding where to edit the following...
 
Hi,

I need some pointers where to remove the lower (extra) "Headline", as well as where to find the "FTX Nutrition Inc." text so I can remove it.

I have searched languages for the FTX but I can't find it. Any help would be appricated! :)

https://secure.cydrate.com/store/home.php

Thanks,
Tom

balinor 01-18-2005 03:28 AM

Check head.tpl to make sure you didn't duplicate the 'headline'. It is a table with three rows, one with the class 'headline'.

The 'extra' store name is actually the navigation bar (you will notice it changes as you move through the site). If you want it gone, remove or comment out this line from home.tpl:

Code:

{include file="location.tpl"}

tom7678 01-18-2005 10:59 PM

Quote:

Originally Posted by balinor
Check head.tpl to make sure you didn't duplicate the 'headline'. It is a table with three rows, one with the class 'headline'.

The 'extra' store name is actually the navigation bar (you will notice it changes as you move through the site). If you want it gone, remove or comment out this line from home.tpl:

Code:

{include file="location.tpl"}
[/code]


Thank you very much balinor. I removed the 'headline' and it still left some of the line. I have pasted my head.tpl below. Removing the 'location.tpl' worked like a champ!! I REALLY appricate your help!!!!

Thanks!! :D

https://secure.cydrate.com/store/home.php

{* $Id: head.tpl,v 1.40.2.2 2004/08/18 12:51:16 max Exp $ *}
<center><TABLE border="0" cellpadding="0" cellspacing="0" width="800">
<TR>
<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="800">

<TR>
<TD>
<FORM action="home.php" method="GET" name="sl_form">
<INPUT type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING}">
</TD>
</TR>
<TR>
{if $usertype eq "C"}
{/if}
</TD>
{if ($usertype eq "C" || $usertype eq "B")and $all_languages_cnt gt 1}
<TABLE border="0" cellpadding="0" cellspacing="0">




<TR>
<TD>
{$lng.lbl_select_language}:
<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}

{/if}
</TD>
</TR>
<TR>
<TD colspan="2" class="VertMenuBorder">[img]{$ImagesDir}/spacer.gif[/img]</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}</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="800" height="18">
<TR>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product') && $config.Appearance.enabled_printable_version eq 'Y'}
<TD width="800" valign="middle" align="right">{include file="printable.tpl"}</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
{/if}
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</center>[/url]

balinor 01-19-2005 08:05 AM

Whoa. I'd say you botched a table in there somewhere. Try putting the code into Dreamweaver or your favorite WYSIWYG editor to try and find the problem. Looks like a row or a cell isn't closed and is repeating.

Oh and hey, include your code in the code tags so we can read it easier....hard on the eyes without it! :)

tom7678 01-19-2005 05:07 PM

Quote:

Originally Posted by balinor
Whoa. I'd say you botched a table in there somewhere. Try putting the code into Dreamweaver or your favorite WYSIWYG editor to try and find the problem. Looks like a row or a cell isn't closed and is repeating.

Oh and hey, include your code in the code tags so we can read it easier....hard on the eyes without it! :)


Thanks! All fixed. :D


All times are GMT -8. The time now is 03:15 AM.

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