Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:litemage:troubleshooting:login-link-still-show-after-logged-in [2017/10/25 14:18] Jackson Zhang [Login/Create an Account Links Appearing While Logged In] |
litespeed_wiki:cache:litemage:troubleshooting:login-link-still-show-after-logged-in [2018/07/16 13:06] Jackson Zhang [Solution] |
||
---|---|---|---|
Line 10: | Line 10: | ||
- Check the logs output for LiteMage related messages with the following command, ''tail -f var/log/system.log | grep LiteMage''. You should again see that the welcome block is hole punched while the login link is not. The ESI request should be similar to ''/litemage/esi/getBlock/t/welcome/bi/welcome/h/D/s/1/dp/sm_market/dt/default/'' | - Check the logs output for LiteMage related messages with the following command, ''tail -f var/log/system.log | grep LiteMage''. You should again see that the welcome block is hole punched while the login link is not. The ESI request should be similar to ''/litemage/esi/getBlock/t/welcome/bi/welcome/h/D/s/1/dp/sm_market/dt/default/'' | ||
- | ==== Solution ==== | + | |
+ | ==== Cause ==== | ||
+ | Login links are not hole punched. | ||
+ | |||
+ | |||
+ | |||
+ | ===== Solution ===== | ||
+ | |||
+ | ==== Quick fix: Punch a big hole instead of small one through LiteMage configuration ==== | ||
+ | |||
+ | You can try to punch a big hole instead of small one. | ||
+ | |||
+ | Logging into the Magento Admin and entering LiteMage config, we added ''header'' in **Customized Block Names for "toplinks" Tag**. | ||
+ | We also saw "compare" in a toplinks block, so we added ''compare'' to **Additional Purge Tags for "toplinks" Blocks** as well. | ||
+ | |||
+ | {{ :litespeed_wiki:cache:litemage:troubleshooting:litemage-see-minicompare-tag-add-purge.png?nolink |}} | ||
+ | |||
+ | For more info on this step, check out [[litespeed_wiki:cache:litemage:troubleshooting:logged-in-user-info-shown-to-others|Logged In Usernames/Cart Items Shown On Other User's Pages]]. | ||
+ | |||
+ | This quick fix solution may or may not work. If not, please try to modify the theme template instead. | ||
+ | |||
+ | ==== Modify the template ==== | ||
Now that we have confirmed the issue, it is time to fix it by punching a hole for the login link block, since this is private information. | Now that we have confirmed the issue, it is time to fix it by punching a hole for the login link block, since this is private information. | ||
* In your sm_market config, check the header style selection. For this site, it is ''header4'' | * In your sm_market config, check the header style selection. For this site, it is ''header4'' |