Moderator’s note: Split from this thread.
Running1.63 andnot getting the actual logout. Instead I get the full script code {exp:logout_redirect url="http://www.yahoo.com" text="Get Me Out Now" styles="class='logout-link-class' title='Logout Link'"}
So it appears not to be engaging. Have plug-in installed and extension enabled, so not sure what could be up.
Have you run in to this not processing before?
Hiya,
Just tried this out (me trying out my own extensions!! 😉 ) on a stock install of 1.6.3 and with this code :
{if logged_in}
{if member_group == "1"}
{exp:logout_redirect url="http://www.yahoo.com" text="Get Me Out Of Here" styles="class='logout' title='Logout'"}
{/if}
{/if}
All worked fine. The above works if I am logged in to the system and I am a Super Admin as shown by the member_group == “1” part. You should just be able to do this though :
{exp:logout_redirect url="http://www.yahoo.com" text="Get Me Out Of Here" styles="class='logout' title='Logout'"}
and it will just provide you with a log-out link which will do just that, log you out and then re-direct you to the url.
Not sure why it wouldn’t work for you though. Did you make sure to enable the extension?
Best wishes,
Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.