FEU - possible to create two logout forms?
Posted: Sat Aug 14, 2010 11:39 am
Hi there,
I'm wanting to have two different logout forms when I use the FEU module - does anyone know how to do this? The reason being that on some webpages I want to use one of the logout forms, and on some other pages the other.
I think that if I have two forms, I can then use the following code within a webpage to choose which form to display:
{cms_module module='FrontEndUsers form = 'form'} with 'form' the form I wish to use on a particular page.
And I thought that I had cleverly tricked CMSMS by pasting the logout template code on top of the changesettings template, modifying it there (I have no need to use the real changesettings form in this website) and using {cms_module module='FrontEndUsers form = 'changesettings') but although the form created here looks as expected on the website, the 'Signout' button created by it unfortunately doesn't log one out.
I'd also be happy to be able to paste the logout template code directly into the HTML for a webpage, but this also doesn't seem to work - I get lots of smarty errors. There might be an easy way to get the code to work here? By the logout template code, I mean for example:
{$startform}
To sign out at any stage, please click below:
Lang('info_logout')}">{$mod->Lang('logout')}
{$endform}
Many thanks for any ideas
Cheers,
Zaneta
I'm wanting to have two different logout forms when I use the FEU module - does anyone know how to do this? The reason being that on some webpages I want to use one of the logout forms, and on some other pages the other.
I think that if I have two forms, I can then use the following code within a webpage to choose which form to display:
{cms_module module='FrontEndUsers form = 'form'} with 'form' the form I wish to use on a particular page.
And I thought that I had cleverly tricked CMSMS by pasting the logout template code on top of the changesettings template, modifying it there (I have no need to use the real changesettings form in this website) and using {cms_module module='FrontEndUsers form = 'changesettings') but although the form created here looks as expected on the website, the 'Signout' button created by it unfortunately doesn't log one out.
I'd also be happy to be able to paste the logout template code directly into the HTML for a webpage, but this also doesn't seem to work - I get lots of smarty errors. There might be an easy way to get the code to work here? By the logout template code, I mean for example:
{$startform}
To sign out at any stage, please click below:
Lang('info_logout')}">{$mod->Lang('logout')}
{$endform}
Many thanks for any ideas

Cheers,
Zaneta