I donīt know if this is a solution for your problem. We had a problem that
during the logout process always the default template was choosen by the system. This workaround was helpful for us. (But it only works with the non-hosted version):
1. change the template "general -> navbar" and replace the logout-link with a formular:
Code:
<form name="logoutform" action="<{$basepath}>" method="POST">
<input type="submit" name="logoutbutton" value="<{$language[logout]}>" class="loginform_go">
<input type="hidden" name="_m" value="core">
<input type="hidden" name="_a" value="logout">
<input type="hidden" name="group" value="your_preferred_template">
</form>
2. open the file " ../modules/core/client_loginhandler.php" and change in the logout-part as presented below:
Code:
printRedirect($_SWIFT["language"]["loggingout"], "index.php?logoutresult=".urlencode($logoutresult)."&group=".$_POST["group"], true);
Have a nice day!