Page 1 of 1

MAMS Logout

Posted: Tue Jul 12, 2022 5:52 pm
by RobV10
I'm trying to find the right syntax to have a 'Logout' function in the main navigator. I'm just wanting to be able to click on 'Logout' and then have it log out the use and return to Home page. I don't want to create another form for that. Any suggestions on the MAMS syntax to do that?

Thanks in advance....

Re: MAMS Logout

Posted: Tue Jul 12, 2022 6:10 pm
by DIGI3
I haven't checked that it's the same in MAMS, but I grabbed the following from a site with that feature in FEU:

Code: Select all

{if isset($url_logout)}
  <a href="{$url_logout}" title="Logout"><i class="fa fa-sign-out"></i> Logout</a>
{/if}
It should be the same or similar, and {get_template_vars} may help.