Magento :: Store Restriction Blocking Forgot Password Page
Foowebs
>
Blog
>
If you have installed the Store Restriction Module for Magento E-Commerce Web Applications, then you may have had a problem loading the "Forgot Password" page or perhaps even the "Create an Account" page. I, myself ran into that problem and took some time to find the fix.
What you want to do is copy the app/design/frontend/default/default/layout/storerestriction.xml file to app/design/frontend/default/current-theme/layout folder. Then open the file up and edit the file per the following:
="1.0"?>
<layout version="1.0.0">
< reference name="head">
<block type="page/html_head" name="storerestriction" as="storerestriction" template="storerestriction/head.phtml" />
reference>
<customer_account_login>
<remove name="storerestriction"/>
customer_account_login>
<customer_account_create>
<remove name="storerestriction"/>
customer_account_create>
<customer_account_forgotpassword>
<remove name="storerestriction"/>
customer_account_forgotpassword>
layout>
Once you upload your modified file, make sure you clear your cache before testing. That should make it work properly by allowing you to view "create an account" and "forgot password" without logging in first.
We thought you might like to see these other posts about web development...
About The Author
Kim Young is Founder, CEO, and a developer at Foo - a web development company based in Wesley Chapel, Florida. She can also be found on Google+. With over 16 years of experience as a web developer, Kim is excited to share with you tidbits that she has picked up along the way. Kim prioritizes continuing education and out of box thinking in order to bring the most valuable solution to Fooweb's clients.
Kim Young is Founder, CEO, and a developer at Foo - a web development company based in Wesley Chapel, Florida. She can also be found on Google+. With over 16 years of experience as a web developer, Kim is excited to share with you tidbits that she has picked up along the way. Kim prioritizes continuing education and out of box thinking in order to bring the most valuable solution to Fooweb's clients.