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)
-   -   Sorry New and need help with head.tpl (https://forum.x-cart.com/showthread.php?t=1408)

stryker898 02-05-2003 08:36 PM

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. :roll:

shan 02-06-2003 01:46 AM

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


All times are GMT -8. The time now is 07:28 AM.

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