intermediadorpopular Posted January 20, 2015 Share Posted January 20, 2015 Does anyone know how I remove this " literal " name? In which file is it? Already removed the code Google analytics " header.tpl " but he stubbornly continues her ... PS 1.6.9 I appreciate any help . Link to comment Share on other sites More sharing options...
vekia Posted January 21, 2015 Share Posted January 21, 2015 hello what module you use exactly? Link to comment Share on other sites More sharing options...
intermediadorpopular Posted January 21, 2015 Author Share Posted January 21, 2015 Google Analytics v2.0.6 - by PrestaShop PS 1.6.9 Link to comment Share on other sites More sharing options...
vekia Posted January 21, 2015 Share Posted January 21, 2015 if you disable this module (for test purposes), these {literal} tags disappear? Link to comment Share on other sites More sharing options...
intermediadorpopular Posted January 21, 2015 Author Share Posted January 21, 2015 (edited) I've done it and not solve the problem ... completely removed from the module and nothing .... I have looked this command within the homesliderpro module, in all .tpl as it was affected and it is not working properly but found nothing . It's a mystery to know where this " literal " Edited January 21, 2015 by intermediadorpopular (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 21, 2015 Share Posted January 21, 2015 so it's not a part of google analytics module. it can be: - hardcoded in header.tpl file (theme file) - a part of modules associated with hook: displayHeader please verify what modules you have in displayHeader (modules > positions) and then, under modules > modules disable them one by one (for test purposes) after every disable - check your front office if these {literal} tags disappear, if so - it will be necessary to analyse module .tpl files. Link to comment Share on other sites More sharing options...
intermediadorpopular Posted January 22, 2015 Author Share Posted January 22, 2015 (edited) Have verefiquei all .tpl the thema folder - default- booststrap and found nothing ....Have to how many modules connected to the hook : displayHeader are in all: 55 , much work .Do you have another solution? I am afraid of losing something of the modules. Edited January 22, 2015 by intermediadorpopular (see edit history) Link to comment Share on other sites More sharing options...
J.Sahu Posted January 22, 2015 Share Posted January 22, 2015 Well it's unpredictable without viewing your code. Have you configured any module or any .tpl file ? Link to comment Share on other sites More sharing options...
PascalVG Posted January 22, 2015 Share Posted January 22, 2015 Hi, can you attach/post your file: themes/<your them folder>/header.tpl ? maybe this gives some clues.. pascal Link to comment Share on other sites More sharing options...
intermediadorpopular Posted January 22, 2015 Author Share Posted January 22, 2015 (edited) {* * 2007-2014 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-2014 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> <!--[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 lang="{$lang_iso}"> <head> <meta charset="utf-8" /> <title>{$meta_title|escape:'html':'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 name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <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}" /> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media|escape:'html':'UTF-8'}" /> {/foreach} {/if} {if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)} {$js_def} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script> {/foreach} {/if} {$HOOK_HEADER} <!--[if IE 8]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> <body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if isset($content_only) && $content_only} content_only{/if} lang_{$lang_iso}"> {if !isset($content_only) || !$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|escape:'html':'UTF-8'}</span></p> </div> {/if} <div id="page"> <div class="header-container"> <header id="header"> <div class="banner"> <div class="container"> <div class="row"> {hook h="displayBanner"} </div> </div> </div> <div class="nav"> <div class="container"> <div class="row"> <nav>{hook h="displayNav"}</nav> </div> </div> </div> <div> <div class="container"> <div class="row"> <div id="header_logo"> <img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}"{/if}/> </a> </div> {if isset($HOOK_TOP)}{$HOOK_TOP}{/if} </div> </div> </div> </header> </div> <div class="columns-container"> <div id="columns" class="container"> {if $page_name !='index' && $page_name !='pagenotfound'} {include file="$tpl_dir./breadcrumb.tpl"} {/if} <div id="slider_row" class="row"> <div id="top_column" class="center_column col-xs-12 col-sm-12">{hook h="displayTopColumn"}</div> </div> <div class="row"> {if isset($left_column_size) && !empty($left_column_size)} <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div> {/if} {if isset($left_column_size) && isset($right_column_size)}{assign var='cols' value=(12 - $left_column_size - $right_column_size)}{else}{assign var='cols' value=12}{/if} <div id="center_column" class="center_column col-xs-12 col-sm-{$cols|intval}"> {/if} Edited January 22, 2015 by intermediadorpopular (see edit history) Link to comment Share on other sites More sharing options...
FullCircles Posted January 22, 2015 Share Posted January 22, 2015 I'd say a bigger issue at the moment is that the site is trying to chuck viruses out, just tried going on there and it threw one, then started locking up flash (which was something to do with one of the adverts on the right hand side). This was happening despite noscript, so I'm not sure offhand what was enabled... I'd have a check on your ad settings to make sure it's not letting weird ones through. Anyhow, no signs of any literal tags in that header file, I'd have a look on your Modules -> Positions page, and see what modules are being included in the page, then have a quick scan through their .tpl files for any sign of those literal tags. If you have a suitable bit of software, you could also just search all of them for {literal} and see what turns up Link to comment Share on other sites More sharing options...
J.Sahu Posted January 22, 2015 Share Posted January 22, 2015 so it's not a part of google analytics module. it can be: - hardcoded in header.tpl file (theme file) - a part of modules associated with hook: displayHeader please verify what modules you have in displayHeader (modules > positions) and then, under modules > modules disable them one by one (for test purposes) after every disable - check your front office if these {literal} tags disappear, if so - it will be necessary to analyse module .tpl files. It's the best process. Have you done as instructed ? I have some doubt on the slider module and elevetezoom module. If you still find them please check the block top menu and blockpermamentlink(it may be the culprit) module header.tpl file Link to comment Share on other sites More sharing options...
vekia Posted January 22, 2015 Share Posted January 22, 2015 Have verefiquei all .tpl the thema folder - default- booststrap and found nothing .... Have to how many modules connected to the hook : displayHeader are in all: 55 , much work . Do you have another solution? I am afraid of losing something of the modules. if you don't want to disable (for test purposes only) these modules you have to analyse contents of .tpl files one by one. of course, contents of .tpl files of all modules associated with header hook. Link to comment Share on other sites More sharing options...
PascalVG Posted January 22, 2015 Share Posted January 22, 2015 Maybe first move the position of the available modules in the header hook one by one to another place (bottom or so), and see if the literals move with it. Then that module may be a good candidate to further look into. Don't forget your write down the original order of the modules to restore afterwards... My 2 cents, pascal. Link to comment Share on other sites More sharing options...
intermediadorpopular Posted January 23, 2015 Author Share Posted January 23, 2015 people, A lot of work but do not give up will find this damn " literal " Link to comment Share on other sites More sharing options...
intermediadorpopular Posted January 23, 2015 Author Share Posted January 23, 2015 It's the best process. Have you done as instructed ? I have some doubt on the slider module and elevetezoom module. If you still find them please check the block top menu and blockpermamentlink(it may be the culprit) module header.tpl file Disabled 3 modules and the literal continues her ... Link to comment Share on other sites More sharing options...
intermediadorpopular Posted January 23, 2015 Author Share Posted January 23, 2015 Maybe first move the position of the available modules in the header hook one by one to another place (bottom or so), and see if the literals move with it. Then that module may be a good candidate to further look into. Don't forget your write down the original order of the modules to restore afterwards... My 2 cents, pascal. The change in position of the modules does not change anything , not even the " literal " . But call me question the attention of two modules . ( Annex ) Link to comment Share on other sites More sharing options...
PascalVG Posted January 23, 2015 Share Posted January 23, 2015 Think I know: I expect it to be the 'code' in the HTML box, Please check modules->modules, HTMLbox -> configure page If you use literal code in here, it won't get filtered out as being code, but seen as just text: See here: Hope that's it, pascal Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now