Differences

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

Link to this comparison view

litespeed_wiki:cache:litemage:troubleshooting:login-eh_ajaxloginregister [2017/05/26 19:57]
Jackson Zhang created
litespeed_wiki:cache:litemage:troubleshooting:login-eh_ajaxloginregister [2017/05/30 14:49] (current)
Lisa Clarke
Line 1: Line 1:
 +~~NOTOC~~
 ====== "Log In/​Register"​ Appearing While Logged In ====== ====== "Log In/​Register"​ Appearing While Logged In ======
  
 ==== Problem ==== ==== Problem ====
- When using an ajax login plugin called [[https://​www.extensionhut.com/​magento-extensions/​ajax-login-register.html|Ajax Login/​Register]], once you’re logged ​in the options ​should change ​from “Log In/​Register” to “My Account/Log Out”. It doesn’t change.+ Login options display as **Log In/​Register** when they should be **My Account/Log Out** while using an ajax login plugin called [[https://​www.extensionhut.com/​magento-extensions/​ajax-login-register.html|Ajax Login/​Register]]. After a user logs inthe display ​should change, but it does not.
  
-==== Solutions ​====  +==== Solution ​====  
- It has to set "Separate Cache Copy Per Group" ​to the "Only distingguish ​between logged-in vs logged-out" because it loads layout update dynamically in the code and not through layout files.+ Layout updates are loaded dynamically in the code and not through layout files. To address this, **Separate Cache Copy Per Customer ​Group** must be set to ''​Only distinguish ​between logged-in vs logged-out''​.
  
  {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​separatecachecopyper_customergroup.png?​600 |}}  {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​separatecachecopyper_customergroup.png?​600 |}}
  
-To be noted, for most cases ajax login does not require this setting. ​Howeverthis plugin is loading ​layout handles ​dynamically, ​so we have to adjust this setting. +Please note: In most casesajax login does not require this setting. ​This particular pluginhowever, handles layout ​loading dynamically, ​which requires a different approach.
  • Admin
  • Last modified: 2017/05/30 14:49
  • by Lisa Clarke