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)
-   -   Replacing with your logo (https://forum.x-cart.com/showthread.php?t=12516)

lbeasley 03-02-2005 05:19 AM

Replacing with your logo
 
As easy as this sounds, im having a complicated time. I purchased the "Ice Blue" Template, and i cant seem to replace "Your Company Logo" with my logo. The top part has a flash logo, and in the directions is states uploading your logo, and editing the "head.tpl" file changing each entree with your new logo name. I have done this, and the "Your Company Logo" disapears, but my logo still doesnt show. Anybody help me on this?

1day2004 03-02-2005 09:54 AM

Make sure you also type the extension of your logo:

MyLogo.jpg, MyLogo.gif, etc.

Hope this helps.

lbeasley 03-02-2005 11:02 AM

yes i am typing the extension, still i get no image... here is my head.tpl file.....

Code:

{* $Id: head.tpl,v 1.40.2.3 2004/11/19 06:40:15 max Exp $ *}
{if $usertype eq "C"}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor=#C1F1FF background="{$ImagesDir}/custom/head_bg.gif" class="BackgroundRepeatX">
<TR>
<TD rowspan="10" valign="top" align="left" background="{$ImagesDir}/custom/mountain_logo.gif"><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="341" height="206" id="flash_logo" align="top"><PARAM name="allowScriptAccess" value="sameDomain" /><PARAM name="movie" value="{$ImagesDir}/custom/flash_logo.swf" /><PARAM name="menu" value="false" /><PARAM name="loop" value="false" /><PARAM name="quality" value="high" /><PARAM name="bgcolor" value="#ffffff" /><PARAM name="FlashVars" value="not_home_page={if $main eq "catalog" and $current_category.category eq ""}0{else}1{/if}&company_name_path={$ImagesDir}/custom/company_name.jpg&home_path={$http_location}/customer/home.php" ><EMBED src="{$ImagesDir}/custom/flash_logo.swf" FlashVars="not_home_page={if $main eq "catalog" and $current_category.category eq ""}0{else}1{/if}&company_name_path={$ImagesDir}/custom/company_name.jpg&home_path={$http_location}/customer/home.php" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="341" height="206" name="flash_logo" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect="true" /></OBJECT></TD>
<TD background="{$ImagesDir}/custom/head_02.gif" class="BackgroundNoRepeat" align="right">{if $config.Company.company_phone}{$lng.lbl_phone_1_title}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}{/if}</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD background="{$ImagesDir}/custom/head_04.gif" class="BackgroundNoRepeat">[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD valign="top" align="left" background="{$ImagesDir}/custom/head_line_1.gif"  class="BackgroundNoRepeat"><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ID="head_line_1" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="429" height="2" align="middle"><PARAM name="allowScriptAccess" value="sameDomain" /><PARAM name="movie" value="{$ImagesDir}/custom/head_line_1.swf" /><PARAM name="FlashVars" value="repeat_time=60&js_enabled={$js_enabled}"><PARAM name="loop" value="false" /><PARAM name="menu" value="false" /><PARAM name="quality" value="high" /><PARAM name="bgcolor" value="#1479d0" /><EMBED src="{$ImagesDir}/custom/head_line_1.swf" FlashVars="repeat_time=60&js_enabled={$js_enabled}" loop="false" menu="false" quality="high" bgcolor="#1479d0" width="429" height="2" name="head_line_1" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect=true /></OBJECT></TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD background="{$ImagesDir}/custom/head_08.gif" class="BackgroundNoRepeat" align="right" valign="middle">
{if $usertype eq "C"}
{include file="customer/top_menu.tpl"}
{else}

{/if}
</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD background="{$ImagesDir}/custom/head_10.gif" class="BackgroundNoRepeat">[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD valign="top"  align="left" background="{$ImagesDir}/custom/head_line_2.gif"  class="BackgroundNoRepeat"><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  ID="head_line_2" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="429" height="2" align="middle"><PARAM name="allowScriptAccess" value="sameDomain" /><PARAM name="movie" value="{$ImagesDir}/custom/head_line_2.swf" /><PARAM name="menu" value="false" /><PARAM name="quality" value="high" /><PARAM name="bgcolor" value="#1479d0" /><EMBED src="{$ImagesDir}/custom/head_line_2.swf" menu="false" quality="high" bgcolor="#1479d0" width="429" height="2" name="head_line_2" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveConnect=true /></OBJECT></TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD background="{$ImagesDir}/custom/head_14.gif" class="BackgroundNoRepeat" align="right">
{if $usertype eq "C"}
{ include file="customer/search.tpl" }
{/if}
</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR><TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD background="{$ImagesDir}/custom/head_20.gif" class="BackgroundNoRepeat" width="100%" align="right">
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR>
<TD>
{if $login eq "" }
{ include file="auth.tpl" }
{else}
{ include file="authbox.tpl" }
{/if}
</TD>
<TD>{include file="customer/main/minicart.tpl" short_mode="short"}</TD>
</TR>
</TABLE>
</TD>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
</TABLE>
{if $usertype eq "C" 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.QUERY_STRING}">
<TR>
<TD><FONT class="MainSubtitle">{$lng.lbl_select_language}:</FONT>
<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}

{else}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD width="27"></TD>
<TD>[img]{$ImagesDir}/xlogo.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.QUERY_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="32">
<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>
{/if}


balinor 03-02-2005 12:08 PM

Hey Lewis, welcome to X-Cart! A couple things...be sure and post your code in code tags (like I did to your post above) to make it easier to read. Also, be sure and add your X-Cart version to your signature. Edit your profile, enter your x-cart version in your signature, enter your password, hit save. Thanks!

As far as your logo issue, note that the logo is actually the BACKGROUND of the table cell. The flash may be overlapping it. I'm not familar with that skin, so I can't tell you exactly what you need to edit.

lbeasley 03-02-2005 12:36 PM

hmmm... i will try to work with it more. Thanks.

zardos 03-02-2005 01:44 PM

Hi lbeasley

Is this not the place to put your logo. Just past half way down.

Code:

<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD width="27"></TD>
<TD>[img]{$ImagesDir}/xlogo.gif[/img]</TD>
<TD valign="top" align="right">
{if $usertype eq "C"}
{include file="customer/top_menu.tpl"}
{/if}


lbeasley 03-03-2005 04:58 AM

no...its a flash file that needs to be replaced. The directions that came with the template says to just find the Flash file name in the "head.tpl" file, and change it to your logo file name. However its more to it then that, because it doesnt work. Maybe i'll figure it out one of these days.

pauldodman 03-03-2005 05:19 AM

I have never used flash for a logo, so I am not 100% sure this is what you need. I seem to recall a similar problem though, and the advice offered was to place the code for the flash movie between
<section> tags.
Sorry if that isn't any help.

Paul Dodman
e-business consultant
Lumino Internet
luminointernet.co.uk

lbeasley 03-03-2005 06:00 AM

To be honest. What i really would like to do is get rid of that entire top flash header. I designed a Top banner last night tha is in .jpg format. However i was having some issues with resolution viewing. It looked ok with 800x600, however when switching to 1024x768 there was a chunck of blue space left behind the banner, and the body of the sight was longer in length then the banner. Any help on fixing this?

lbeasley 03-04-2005 05:06 AM

Come on, dont everyone speak at once! :lol:


All times are GMT -8. The time now is 11:44 PM.

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