1. Miklos Solti
  2. General
  3. Tuesday, 16 July 2019
Hi,

When the templates/mytemplate/html/com_virtuemart/category/default_quicklook.php is works on the page, it messes up the screen with an jscript at the top of the page.


.*/, ''); product_details.append(jQuery(data)); product_details.find('.back-to-category').remove(); product_details.find('.ask-a-question').remove(); product_details.find('#tabs').remove(); product_details.find('div.tab-content').remove(); product_details.find('div.iconbar').remove(); product_details.find('div.manufacturer').remove(); product_details.find('div.product-neighbours').remove(); product_details.find('div.ratingbox').remove(); product_details.find('h1').wrap(''); product_details.find('a').attr('href', url); if (product_details.find('.main-image').length>0) { if (img = product_details.find('.main-image').find('img')) { img.insertBefore(img.parent()); product_details.find('.main-image').find('a').remove(); } } jQuery('.modal-preloader',$modalWindow).hide(); jQuery('.modal-body',$modalWindow).show(); jQuery('.modal-body',$modalWindow).html(product_details.html()); jQuery('.modal-body',$modalWindow).prepend('×'); Virtuemart.product(jQuery('.product')); } }); }) jQuery('#quicklook_component_modal').on('hidden.bs.modal', function (e) { var $modalWindow=jQuery(this); jQuery('.modal-preloader',$modalWindow).show(); jQuery('.modal-body',$modalWindow).hide(); }); }); // window.miniteksystemmessages = { site_path: "https://korona.s2consulting.hu/", is_site: true, lifetime: 15, user_id: "0", jg_pool: "0", jg_closer: "1", jg_close_all: "Mind bezárása", jg_sticky: "0", jg_theme: "default", jg_position: "screen-center", jg_glue: "after", jg_life: "10000", jg_closeDuration: "500", jg_openDuration: "500", group_messages: "0", joomla_container: "system-message-container", messages: false, error_text: "Úgy tűnik, hogy nem engedélyezte a cookie-k fogadását a böngészőjében. Nem tudja telepíteni az alkalmazást, ha ez a funkció letiltott. Emellett probléma merülhet föl a kiszolgáló session.save_path beállításával is. Ha ez az eset áll fönn, és ha ezt nem tudja saját maga ellenőrizni vagy javítani, akkor forduljon tárhelyszolgáltatójához,.", message_text: "Üzenet", notice_text: "Értesítés", warning_text: "Figyelmeztetés", }; if(typeof acymailingModule == 'undefined'){ var acymailingModule = []; } acymailingModule['emailRegex'] = /^[a-z0-9!#$%&\'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&\'*+\/=?^_`{|}~-]+)*\@([a-z0-9-]+\.)+[a-z0-9]{2,10}$/i; acymailingModule['NAMECAPTION'] = 'Név'; acymailingModule['NAME_MISSING'] = 'Adja meg a nevét'; acymailingModule['EMAILCAPTION'] = 'E-mail'; acymailingModule['VALID_EMAIL'] = 'Kérjük, érvényes e-mail címet adjon meg'; acymailingModule['ACCEPT_TERMS'] = 'Fogadja el a használati feltételeket'; acymailingModule['CAPTCHA_MISSING'] = 'Kérem írja be a képen látható biztonsági kódot:'; acymailingModule['NO_LIST_SELECTED'] = 'Kérjük, válassza ki melyik témákra kíván feliratkozni'; acymailingModule['excludeValuesformAcymailing21061'] = []; acymailingModule['excludeValuesformAcymailing21061']['name'] = 'Név'; acymailingModule['excludeValuesformAcymailing21061']['email'] = 'E-mail'; jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });


If you want to test it, pls let me know and I'll rename back this file. The test URL is: https://korona.s2consulting.hu/index.php/webaruhaz/404/terites-talalas-vendeglatas-old/polikarbonat-vendeglatas-asztali-old

Thanks,
Miklos
References
  1. https://korona.s2consulting.hu/index.php/webaruhaz/404/terites-talalas-vendeglatas-old/polikarbonat-vendeglatas-asztali-old
Responses (6)
Frantisek Accepted Answer Pending Moderation
Linelabox Support
Hi, What version of Virtuemart are you using?
  1. more than a month ago
  2. General
  3. # 1
Miklos Solti Accepted Answer Pending Moderation
Hi,

Sorry for the late reply. The version of Virtuemart is 3.2.1.

Thanks,
Miklos
  1. more than a month ago
  2. General
  3. # 2
Miklos Solti Accepted Answer Pending Moderation
Dear Support Team,

Can you pls give me a solution for this issue?
Thanks,
Miklos
  1. more than a month ago
  2. General
  3. # 3
Frantisek Accepted Answer Pending Moderation
Linelabox Support
Hi, error=404, Please rename this file.
  1. more than a month ago
  2. General
  3. # 4
Miklos Solti Accepted Answer Pending Moderation
Hi,

default_quicklook.php has been renamed back.
http://korona.s2consulting.hu/webaruhaz/gn-edenyek/polikarbonat
Now the error message says:
Uncaught SyntaxError: Invalid regular expression: missing /

It complains about this line in default_quicklook.php
data=data.replace(/\<\/body\>.*/, '</body>');

Thanks,
Miki
  1. more than a month ago
  2. General
  3. # 5
Frantisek Accepted Answer Pending Moderation
Linelabox Support
Thank you for your bugreport. We will fix this issue today.
  1. more than a month ago
  2. General
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.