vakero24 Posted April 26, 2011 Share Posted April 26, 2011 Hola gente, Necesito vuestra ayuda pues a nivel de codigo no tengo mucha idea y queria ver si me podeis ayudarTengo en mente poder poner un logo en flash pero no encuentro manera...Tengo prestashop 1.4 con un theme mio.Por lo que he podido ver lo unico que hace falta tocar seria el archivo header.tplasi que si no os importa voy a pegar el codigo de mi header.tpl para ver si me podeis ayudar. <html > <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 name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" /> [removed] var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; [removed] {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} [removed][removed] {/foreach} {/if} {$HOOK_HEADER} <link href="{$base_dir}themes/peshop/css/globals.css" rel="stylesheet" type="text/css" media="{$media}" /> </head> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode} {l s='You cannot place a new order from your country.'} {$geolocalization_country} {/if} <!-- Header --> {$HOOK_TOP} {l s='INDEX'} {l s='NEW PRODUCTS'} {l s='PRICES DROP'} {l s='MY ACCOUNT'} {l s='CART'} {l s='CONTACT'} <form method="get" action="{$link->getPageLink('search.php')}" id="searchbox" style="margin-top:7px"> <!-- image on background --> <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> <input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" /> <input type="image" name="imageField" id="imageField" src="{$base_dir}themes/peshop/img/ok.png" style="border:none" /> </form></li> {if $instantsearch} [removed] // <![CDATA[ {literal} function tryToCloseInstantSearch() { if ($('#old_center_column').length > 0) { $('#center_column').remove(); $('#old_center_column').attr('id', 'center_column'); return false; } } instantSearchQueries = new Array(); function stopInstantSearchQueries(){ for(i=0;i instantSearchQueries[i].abort(); } instantSearchQueries = new Array(); } $("#search_query_top").keyup(function(){ if($(this).val().length > 0){ stopInstantSearchQueries(); instantSearchQuery = $.ajax({ url: '{/literal}{if $search_ssl == 1}{$link->getPageLink('search.php', true)}{else}{$link->getPageLink('search.php')}{/if}{literal}', data: 'instantSearch=1&id;_lang={/literal}{$cookie->id_lang}{literal}&q;='+$(this).val(), dataType: 'html', success: function(data){ if($("#search_query_top").val().length > 0) { Link to comment Share on other sites More sharing options...
Roberto125 Posted April 27, 2011 Share Posted April 27, 2011 Hola,qué tipo de logo en flash? Para el SSL?El más inteligente es de llamar al servicio Prestashop para obtener ayuda porque el producto es de ellos.Saludos cordiales Link to comment Share on other sites More sharing options...
seog Posted April 27, 2011 Share Posted April 27, 2011 Debes introducir tu logo flash donde tienes el codigo siguiente: {$HOOK_TOP} Link to comment Share on other sites More sharing options...
vakero24 Posted April 27, 2011 Author Share Posted April 27, 2011 Ya consigo que me funcione, graciasPero ahora se ve bien en IE pero en firefox y Chrome se ve el logo mas pequeño.Alguien sabe porque? Link to comment Share on other sites More sharing options...
Roberto125 Posted April 28, 2011 Share Posted April 28, 2011 muy bien por usted.Tal vez es mejor hacer el upgrade de Firefox y Chrome. Link to comment Share on other sites More sharing options...
Recommended Posts