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

Sorry New and need help with head.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-05-2003, 08:36 PM
 
stryker898 stryker898 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 113
 

Default Sorry New and need help with head.tpl

I am trying to make it so that just my .GIF logo shows up on the top of my page. Of course I have this as the portion of my head.tpl that needs to be mod...how do I take out the stuff I don't need like extra language options and stuff. U all have nice websites, so I know you know how...any help is much appreciated. THANKS

{* $Id: head.tpl,v 1.22 2002/10/17 13:54:56 zorg Exp $ *}
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 class=HeadBox width=100%>
<TR>
<TD colSpan=2 valign="top" width="284">[img]{$ImagesDir}/EB-logo.gif[/img]</TD>
{if $main eq "catalog" and $current_category.category eq "" and $all_languages_numba gt 1}
<FORM action="home.php" method=GET name=sl_form>
<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>
</FORM>
{else}

{/if}


All this crap seems to be the shit I don't need. But I can't delete it without getting errors.

</TD>
</TR>
<TR>
<TD valign=center width=70></TD>
<TD valign=center></TD>

Ahh how the simplest task seem to be the hardest.
__________________
Never take life too seriously, cause none of us are getting out of here alive!
Reply With Quote
  #2  
Old 02-06-2003, 01:46 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Theres no reason why you cant just rename head.tpl to something else and create a new head.tpl and add whatever code you like.

The tables in the current head.tpl are a bit confusing to edit. I usualy just clear it all out and make my own.

You end up loosing the languages drop down and the search box but them if I need them i make my own tpl files for them too and include them wherever I want them to appear
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:36 AM.

   

 
X-Cart forums © 2001-2020