On Fri, Sep 12, 2008 at 6:14 PM, eternal243 <[EMAIL PROTECTED]> wrote:
> i've run into a problem, in my theme i've created a new login/logout
> button in the menu which does work very nice for me, except that if
> i'm using this plugin i can't logout since my custom logout button
> won't destroy the cookie from the plugin. so my question is if someone
> could be kind and help me correct my code to properly destroy the
> cookie when i press the logout button.
The cookie is unset from the logout() method. As long as you invoke
logout(), it shouldn't matter what's in your theme.
> <li class="logouttab"><a href="<?php Site::out_url( 'habari' ); ?>/
> user/logout" title="<?php _e('Logout'); ?>"><?php _e('Logout'); ?></
> a></li>
That should be fine.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---