Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cache:litemage:troubleshooting:logged-in-out-with-missing-banner [2017/05/05 18:52] Lisa Clarke [Issue 1: Logged In/Out] |
litespeed_wiki:cache:litemage:troubleshooting:logged-in-out-with-missing-banner [2017/05/05 18:58] Lisa Clarke [Issue 1: Logged In/Out] |
||
---|---|---|---|
Line 17: | Line 17: | ||
With this particular template, some global PHP variables initialized in header.phtml and social.phtml were not available in these small chunks. The two template files needed to be updated to initialize them: | With this particular template, some global PHP variables initialized in header.phtml and social.phtml were not available in these small chunks. The two template files needed to be updated to initialize them: | ||
- | **/home/user1/public_html/domain1.com/app/design/frontend/sm_market/default/template]#** ''vi page/html/header.phtml'' | + | **[app/design/frontend/sm_market/default/template]#** ''vi page/html/header.phtml'' |
- | **/home/user1/public_html/domain1.com/app/design/frontend/sm_market/default/template]#** ''vi page/html/social.phtml'' | + | **[app/design/frontend/sm_market/default/template]#** ''vi page/html/social.phtml'' |
The following was added to the top of the two template files: | The following was added to the top of the two template files: | ||
Line 35: | Line 35: | ||
==== Issue 2: Punching A Bigger Hole While Still Purging Private Sections ==== | ==== Issue 2: Punching A Bigger Hole While Still Purging Private Sections ==== | ||
- | Now that the initialization problem is solved, we need to punch a big hole instead of small one. Logging into the Magento Admin and entering LiteMage config, we add "header" in **Customized Block Names for "toplinks" Tag**. | + | Once the initialization problem was solved, we needed 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 see "compare" in a toplinks block, so we add "compare" to **Additional Purge Tags for "toplinks" Blocks** as well. | + | 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 |}} | {{ :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]]**. | + | 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]]. |