Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Help finding where to edit the following...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-17-2005, 09:26 PM
 
tom7678 tom7678 is offline
 

Member
  
Join Date: Sep 2004
Location: Las Vegas
Posts: 14
 

Default 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
__________________
X-Cart version 4.0.3
Reply With Quote
  #2  
Old 01-18-2005, 03:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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"}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-18-2005, 10:59 PM
 
tom7678 tom7678 is offline
 

Member
  
Join Date: Sep 2004
Location: Las Vegas
Posts: 14
 

Default

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!!

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]
__________________
X-Cart version 4.0.3
Reply With Quote
  #4  
Old 01-19-2005, 08:05 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-19-2005, 05:07 PM
 
tom7678 tom7678 is offline
 

Member
  
Join Date: Sep 2004
Location: Las Vegas
Posts: 14
 

Default

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.
__________________
X-Cart version 4.0.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:11 AM.

   

 
X-Cart forums © 2001-2020