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 locating which file to edit (https://forum.x-cart.com/showthread.php?t=26506)

movingsu 11-10-2006 02:46 AM

Help locating which file to edit
 
Which file connects the header and the main body together because theres a huge gap that i would like to fill in.
http://enjetek.com/vit/vit_msu.jpg

http://enjetek.com/vit/vit_msu.jpg

balinor 11-10-2006 02:52 AM

Re: Help locating which file to edit
 
Welcome to X-Cart! Please start by reading the forum rules, and posting your X-Cart version in your signature (click the User CP link at the top of the forum):

http://forum.x-cart.com/viewtopic.php?t=6489

You will find that Webmaster Mode is a huge help in determining which template is which.

movingsu 11-10-2006 03:39 AM

Re: Help locating which file to edit
 
Ive checked all the templates linked to what the webmaster mode gives me, and I cant seen to find what im looking for.

balinor 11-10-2006 04:05 AM

Re: Help locating which file to edit
 
Need to know EXACTLY what version you are using (i.e. 4.0.19). You can find this in your 'Summary' screen.

movingsu 11-10-2006 02:07 PM

Re: Help locating which file to edit
 
X-Cart version 4.1.3

movingsu 11-12-2006 09:52 PM

Re: Help locating which file to edit
 
Could someone point me in the direction to find out how to remove that large gap?

balinor 11-13-2006 03:30 AM

Re: Help locating which file to edit
 
You need to actually look at the templates - start with head.tpl and customer/home.tpl.

oneburn 11-27-2006 04:26 AM

Re: Help locating which file to edit
 
that "gap" is the area for the printable version.
delete the following from head.tpl and add it somewhere else:
------------------

{******** Remove this line to display how much products there are online ****
<tr>
{insert name="productsonline" assign="_productsonline"}
<td colspan="2" class="NumberOfArticles" align="right">
{if $config.Appearance.show_in_stock eq "Y"}
{insert name="itemsonline" assign="_itemsonline"}
{$lng.lbl_products_and_items_online|substitute:"X" :$_productsonline:"Y":$_itemsonline}
{else}
{$lng.lbl_products_online|substitute:"X":$_product sonline}
{/if}
&nbsp;
</td>
</tr>
**** Remove this line to display how much products there are online ********}
{if $main ne "fast_lane_checkout"}
<tr>
<td colspan="2" valign="middle" height="32">
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="HeadTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></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 class="PrintableRow" align="right">{include file="printable.tpl"}</td>
{/if}
</tr>
</table>
</td>
</tr>
{else}
{* Fast Lane Checkout page *}
<tr>
<td colspan="2" class="FLCTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></td>
</tr>
{/if}


All times are GMT -8. The time now is 01:33 AM.

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