Logout Redirect
Developer
3rd Party (Commercial)
EE Version Support
- ExpressionEngine 1.x
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Extension
Tags
This will create the standard ExpressionEngine log-out link on any template that you place it on and in conjunction with the extension will log the user out and then re-direct them to the url as specified.
Plugin code for use in templates
{if logged_in}
{exp:logout_redirect
url="http://www.yahoo.com"
text="Get Me Out Now"
styles="class='logout-link-class'
title='Logout Link'"}
{/if}
This will create the standard ExpressionEngine log-out link on any template that you place it on and in conjunction with the extension will log the user out and then re-direct them to the url as specified above.
Installation Instructions
1 Download the Logout Redirect package from the bottom of this post.
2 Copy the ext_logout_redirect.php file to your system->extensions folder.
3 Copy the pi.logout_redirect.php file to your system->plugins folder.
4 Copy the lang.logout_redirect.php file to your system->language->english folder.
N.B. You may have a different name for your system folder as you may have changed this upon installation of your ExpressionEngine system.
5 Log in to the Admin section of your site and install the Logout Redirect extension.
6 Place the Plugin code (shown above) into one of your templates.
7 Try logging out on the user side. You should be first of all logged-out and then re-directed to the url that you specified!
N.B. You must use the {if logged_in} code and surround the plugin with this.
Also with the plugin code you can do the following kind of thing :
{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}
Logout Redirect Links
Hooks Used
If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.
This entry was created November 6, 2008, 5:12 pm.
This entry was last updated May 18, 2011, 6:35 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
1 Review:
JCDerrick 10.12.10
A simple yet elegant add-on that does exactly what it promises. It provides an easy way to redirect users to a page of your choice after they hit the “Log Out” link or button.