Logout to parent page

Discussion in 'Troubleshooting' started by moonwalker, Nov 28, 2010.

  1. moonwalker

    moonwalker aMember Pro Customer

    Joined:
    Aug 21, 2010
    Messages:
    52
    Hi,

    I'm using the member page in an Iframe, so that the page can fit in the rest of my admin design.

    Now every time I try to logout, I see my website in the Iframe. So basically I need to redirect the logout to the Parent page. Any way to do this?

    Thanks a lot.

    Edit:
    Never mind. I just changed the:
    <a href="{$config.root_url}/logout.php">#_TPL_MEMBER_LOGOUT#</a>

    to

    <a href="{$config.root_url}/logout.php" target="_parent">#_TPL_MEMBER_LOGOUT#</a>

    in the member_main.html template file.

Share This Page