Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:cache:litemage:troubleshooting:pop-ups-not-appearing [2016/05/06 14:23]
Michael Alegre created
litespeed_wiki:cache:litemage:troubleshooting:pop-ups-not-appearing [2017/05/09 12:05] (current)
Lisa Clarke
Line 1: Line 1:
-====== Pop-ups ​Will Sometimes ​Not Appear ======+~~NOTOC~~ 
 +====== ​Site Pop-ups Sometimes ​Don'​t ​Appear ======
  
-When using LiteMage in conjunction with a JS/CSS Compressor (such as the [[http://​potatocommerce.com/​compressor.html|PotatoCommerce Compressor]]), ​you may notice that some pop-ups, ​such as the list of items contained in a customer’s shopping cart, may not appear when being moused over for example.+====Problem==== 
 +When using LiteMage in conjunction with a JS/CSS Compressor (such as the [[http://​potatocommerce.com/​compressor.html|PotatoCommerce Compressor]]),​ some pop-ups, ​including ​the list of items contained in a customer’s shopping cart, do not appear when being moused over.
  
-The reason this is happening is because JS/CSS Compressors create and store a separate compressed file. As the cart (in this example) ​is a private block, LiteMage punches a hole thereNow when the page is loaded, ​the cart is served from LiteMage, which the compressor does not know about, meaning the javascript will not be processed by the compressor correctly. Because of this, when you mouse over the cart, javascript will not be properly triggered and nothing will be displayed. ​+====Cause==== 
 +The shopping ​cart is a private block, ​and LiteMage punches a hole for itJS/CSS Compressors compress LiteMage Cache extension output separately in the backend. This causes some inconsistencies in variables between ​the blocks after compression, which in turn causes problems on the frontend. Because of this, when you mouse over the cart, javascript will not be properly triggered and nothing will be displayed. ​
  
-But What about the times that the pop-up does appear? It is possible that javascript somewhere else on your web page is being triggered and properly resetting the pop-up. +====Solution==== 
- +You must either disable such compressors or move/remove the javascript from the template of the hole-punched block; for example, the minicart template in ''​design/​frontend/​.../​template/​checkout/​cart/​minicart.phtml''​
-If you would like to continue to use LiteMage without any issues, you must either disable such compressors or move/remove the javascript from the template ​(phtml) ​of the hole-punched block; for example, the minicart template in  +
-  ​design/​frontend/​.../​template/​checkout/​cart/​minicart.phtml,+
  
  • Admin
  • Last modified: 2016/05/06 14:23
  • by Michael Alegre