| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Removing Line | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Removing Line
I'm sure this is posted somewhere on the forum, but I'm unable to locate it after 2 days of looking.
I had my server crash and lost everything (dummy me - no current backup). Since I needed to start from scratch I decided to go with the current version. I was using a very old version and my notes don't seem to help on this one. Anyway, I trying to remove the Gray line thats at the bottom of the head.tpl and I'm unable to figure out what I need to comment out. I got the border lines on the top and bottom of it removed and the search box, but I can't find out where to remove the thicker line. Any help would be greatly appreciated. You can see what I'm talking about at http://www.mysticalspells.com/shop/home.php Larry B X-Cart Version 4.0.13 PHP Version 4.3.10 Linux |
|||||||
#2
|
|||||||||
|
|||||||||
Without seeing the code for your head.tpl file, I can't say for sure, but from the code I can see, I think in your head file you have an extra table in there that doesn't seem to be doing much.
Have a look for something like this: Code:
The height of 18 seems to be about the height of your grey bar, try commenting out this table, or the row in it. (If it was me, I would alter the 18 first to see if it makes a difference, then you would know it was the right bit). If this doesn't help, put your head code in a reply.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
I tested removing what looked like the extra table and that didn't work. I also tried modifying all of the fields that had height 18 in them and still nothing. Below is a copy of my head.tpl.
{* $Id: head.tpl,v 1.40.2.3 2004/11/19 06:40:15 max Exp $ *} <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <TR> <TD width="27"></TD> <TD>[img]{$ImagesDir}/mslogo7.gif[/img]</TD> <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="100%"> <TR> {*<TD colspan="2" class="VertMenuBorder">[img]{$ImagesDir}/spacer.gif[/img]</TD>*} </TR> <TR> <TD class="HeadLine" height="22"> {if $usertype eq "C"} {*{ include file="customer/search.tpl" }*} {/if} </TD> <TD class="HeadLine" align="right"> {if ($usertype eq "C" || $usertype eq "B")and $all_languages_cnt gt 1} <TABLE border="0" cellpadding="0" cellspacing="0"> <FORM action="home.php" method="GET" name="sl_form"> <INPUT type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING}"> <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="18"> <TABLE cellspacing="0" cellpadding="0" border="0" width="100%" height="18"> <TR> <TD>[img]{$ImagesDir}/spacer.gif[/img]</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 width="100%" valign="middle" align="right">{include file="printable.tpl"}</TD> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> {/if} </TR> </TABLE> </TD> </TR> </TABLE> Larry B X-Cart Version 4.0.13 PHP Version 4.3.10 Linux |
|||||||
#4
|
|||||||
|
|||||||
I think this is causing the grey to appear.. Just a thought
<TD class="HeadLine" height="22"> </TD> <TD class="HeadLine" align="right"> Michael
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#5
|
|||||||
|
|||||||
That was the spot. Worked great.
Thanks Larry B X-Cart Version 4.0.13 PHP Version 4.3.10 Linux |
|||||||
#6
|
|||||||
|
|||||||
No problem.
Just viewed the source and followed the logic. You might want to re-think the purple background as the top nav buttons are ghosting Michael
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#7
|
|||||||
|
|||||||
Thanks again,
I'm removing the top nav bar - so that's not a problem. My biggest problem now is that the upload images for products is not working. It's driving me nuts. And from the postings, I'm not the only one. http://forum.x-cart.com/viewtopic.php?t=20088 I was using a much older version, but my server crashed and I'm rebuilding now with the newest version, but for so reason the upload product images isn't working. Just gives me a blank popup screen. Hoping somebody on the other posting can figure it out. Anyway, thanks again. Larry B X-Cart Version 4.0.13 PHP Version 4.3.10 Linux |
|||||||
#8
|
|||||||
|
|||||||
I had the same problem a long time ago. Ths was a result of not having proper permission to a tmp dir as the images are loaded there first before being added to your store. Had my host fix that for me
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#9
|
|||||||
|
|||||||
I checked the permissions on the tmp folder and they are 777, but the ownership is root. I wonder if that may be the problem.
__________________
Larry B X-Cart Version 4.0.13 PHP Version 4.3.10 MySQL 3.23.58 Linux - Fedora |
|||||||
#10
|
|||||||
|
|||||||
Follow these steps
Get your Host provider on the phone and have them looking at the admin for you and step them through the process of adding changing a image they can tell where it is bombing out by looking at the server. How is your host provider?
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
|
|||
X-Cart forums © 2001-2020
|