Search the Community
Showing results for tags 'jquery issue'.
-
Accidentally my sir has enabled "Smart cache for JavaScript" feature from dashborad and after that many of jquery functionality stopped working or HALTING. i mean they work well on page load but when we navigate and come back it wont work and causing lots of issues.. plz check our site here; https://www.shelltag.com. also we many done some custom changes to header.tpl files and loaded some external js & css file using front-controller module, but it was working fine ever since that "Smart cache for JavaScript" has been enabled,it all staretd messing up. plz let us know is theres any solution as our site is live and ordered already started getting places so it wud be a disaster if our site stuck in mid.
- 3 replies
-
- jquery confliction
- ccc
-
(and 4 more)
Tagged with:
-
I, have just upgraded prestashop 1.6, and I am getting a lot of jquery errors now. From many modules, including paypal module. This is my code from header.tpl (I am trying to load jquery from a cdn for perfomance) but simply it wont work, and any script reference get moved to the bottom of the page. I want to simple declare the script link to jquery, and keep it there in the header. To many dependancies on it, and not logical to have it on the bottom. It worked fine in version 1.5 but not in this version. I tried literal tag, locating it in the body, etc. But no luck. Please help, thanks <!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 lt-ie6 " lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]--> <!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]--> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> {literal} <script src="http://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script> {/literal} <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" tg="tg" 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="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <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}
- 1 reply
-
- 1.6
- prestashop
-
(and 1 more)
Tagged with: