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

Replacing with your logo

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-02-2005, 05:19 AM
 
lbeasley lbeasley is offline
 

Member
  
Join Date: Mar 2005
Posts: 20
 

Default 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?
__________________
Lewis
x-cart Gold 4.0.12
Reply With Quote
  #2  
Old 03-02-2005, 09:54 AM
 
1day2004 1day2004 is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 115
 

Default

Make sure you also type the extension of your logo:

MyLogo.jpg, MyLogo.gif, etc.

Hope this helps.
__________________
Version 4.0.8 Live
Reply With Quote
  #3  
Old 03-02-2005, 11:02 AM
 
lbeasley lbeasley is offline
 

Member
  
Join Date: Mar 2005
Posts: 20
 

Default

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}
__________________
Lewis
x-cart Gold 4.0.12
Reply With Quote
  #4  
Old 03-02-2005, 12:08 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-02-2005, 12:36 PM
 
lbeasley lbeasley is offline
 

Member
  
Join Date: Mar 2005
Posts: 20
 

Default

hmmm... i will try to work with it more. Thanks.
__________________
Lewis
x-cart Gold 4.0.12
Reply With Quote
  #6  
Old 03-02-2005, 01:44 PM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

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}
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #7  
Old 03-03-2005, 04:58 AM
 
lbeasley lbeasley is offline
 

Member
  
Join Date: Mar 2005
Posts: 20
 

Default

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.
__________________
Lewis
x-cart Gold 4.0.12
Reply With Quote
  #8  
Old 03-03-2005, 05:19 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

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
__________________
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.
Reply With Quote
  #9  
Old 03-03-2005, 06:00 AM
 
lbeasley lbeasley is offline
 

Member
  
Join Date: Mar 2005
Posts: 20
 

Default

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?
__________________
Lewis
x-cart Gold 4.0.12
Reply With Quote
  #10  
Old 03-04-2005, 05:06 AM
 
lbeasley lbeasley is offline
 

Member
  
Join Date: Mar 2005
Posts: 20
 

Default

Come on, dont everyone speak at once!
__________________
Lewis
x-cart Gold 4.0.12
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:22 AM.

   

 
X-Cart forums © 2001-2020