Logout Target Problem
Hi there! I managed to get everything running but the logout button. Technically he is working (i use the forum logout button to logout and the wordpress login to login.) But i cant manage him to use the hole window. So when i logout trough the button the window is loading only in the iframe, and i get a double header. I am using the forum embed in my site.
If I refresh the site with this double header the user is logged out and the header turns normal. So the only problem seems to be the right target^^
This is my config.php logout button url:
$Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}?Target=https://www.pepakura.eu/wp-login.php?action=logout';
I found some workarounds in the forum, but they not worked for me. As fas as I understand I need to target the hole window so the logout url not getting loaded inside the embed iframe.
But the Target which is already in there confuses me. Can there be two targets? And yes, how could i target with _blank or _parent? I really tried to solve this for my own, but I am kinda stuck here:/
Thank you very much:D
Comments
The target in the URL is the redirect parameter. The other target referenced is an attribute of the anchor tag. You would add this via hook or JS. The actual markup would look something like:
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.