Jump to content

Recommended Posts

I am uploading my logo for my website, and no matter how many times I upload it, the "Your logo here" shows up

 

I did have a previous logo up that worked fine, yet when I changed a few logos, new logos won't work

 

 

Keep in mind, I am very novice, and don't know anything about html

 

I have been creating this site based on tutorials and hands on experience

Link to comment
Share on other sites

thanks i just thought that your issue is related to the non-default theme, but as you said - you use default one so the problem is somewhere else. Is there any chance to check your website? it is online? if so please paste the url - I will check it

Link to comment
Share on other sites

go to the header.tpl file and change:

this is a little workaround

<img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />

to:

<img class="logo" src="[url="http://wonderfulbambino.com/img/logo-1.jpg?date=1373929362"]http://wonderfulbambino.com/img/logo-1.jpg?date=1373929362[/url]" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />

 

 

you use multistore feature?

Link to comment
Share on other sites

you have to download header.tpl file from your FTP service.

It is located in the path: /themes/default/header.tpl

 

you can open this file with simple text editor like notepad.

 

after save changes - move this file back to path mendtioned above (just upload it) - make sure that you've got backup of this file

Link to comment
Share on other sites

I have the same problem.

From admin panel wehenever i try to upload a new logo, it is not taken into account.

The logo seems to upload in the back office (I can see it) , yet won't show on my store.

I have 1.5.4.1 version.

 

what template you use? default one?

Link to comment
Share on other sites

this is header.tpl from theme dir:

 

{*

* 2007-2013 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/afl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2013 PrestaShop SA

* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 " lang="{$lang_iso}"> <![endif]-->

<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"> <![endif]-->

<!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"> <![endif]-->

<!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"> <![endif]-->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">

<head>

<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>

{if isset($meta_description) AND $meta_description}

<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />

{/if}

{if isset($meta_keywords) AND $meta_keywords}

<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />

{/if}

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />

<meta http-equiv="content-language" content="{$meta_language}" />

<meta name="generator" content="PrestaShop" />

<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />

<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />

<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />

<script type="text/javascript">

var baseDir = '{$content_dir}';

var baseUri = '{$base_uri}';

var static_token = '{$static_token}';

var token = '{$token}';

var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};

var priceDisplayMethod = {$priceDisplay};

var roundMode = {$roundMode};

</script>

{if isset($css_files)}

{foreach from=$css_files key=css_uri item=media}

<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />

{/foreach}

{/if}

{if isset($js_files)}

{foreach from=$js_files item=js_uri}

<script type="text/javascript" src="{$js_uri}"></script>

{/foreach}

{/if}

{$HOOK_HEADER}

</head>

 

<body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if $hide_left_column}hide-left-column{/if} {if $hide_right_column}hide-right-column{/if} {if $content_only} content_only {/if}">

{if !$content_only}

{if isset($restricted_country_mode) && $restricted_country_mode}

<div id="restricted-country">

<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>

</div>

{/if}

<div id="page" class="clearfix">

 

<!-- Header -->

 

<div id="header">

<div id="navigation">

<div id="header_right">

<div class="wrapper">

{$HOOK_TOP}

<div class="clear"></div>

</div>

<!-- Logo -->

<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

<img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />

</a>

<div class="clear"></div>

</div>

</div>

</div>

 

{if $page_name != 'index'}

<!-- Show banner in every page except homepage -->

{$HOOK_EXTRABANNER}

{/if}

 

<div id="columns" class="clearfix">

<!-- Left -->

{if $page_name == index || $page_name == 'pagenotfound'}

{else}

<div id="left_column">

{$HOOK_LEFT_COLUMN}

</div>

{/if}

 

<!-- Center -->

<div id="center_column">

{/if}

Link to comment
Share on other sites

Complementary information, I have just upgraded my website from PS 1.4.4.0 to 1.5.4.1 with theme Velvetsky 1.0 to VelvetSky 3.2 frol Dapurpixel.

The logos are the one from my original PS version, i would like to change the bill logo as the original one does not fit into the new bill.

It is this function that is not working (the logo for the website is ok): upload of new logo impossible.

 

Thanks

Link to comment
Share on other sites

Hi, I finally solved this issue. It is a database problem in ps_configuration table.

After upgrading from PS1.4.4.0 to PS1.5.4.1, there are double entries for

PS_LOGO_INVOICE and PS_FAVICON.

The older entries prevent the new ones from being taken into account.

You simply have to remove the older lines in your table and your new logo is accepted :)

  • Like 2
Link to comment
Share on other sites

  • 2 years later...
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...