The page template looks basically like this (stripped down to the actually relevant code):
Code: Select all
<div class="section s1">
{if ccUser::loggedin()}
{content}
{else}
<h2>Not registeted yet? Sign up here.</h2>
{cms_module module="SelfRegistration" group="Geologists" nocaptcha="1"}
{/if}
</div>
<div class="section s2">
{if ccUser::loggedin()}
{FrontEndUsers}
{else}
<h2>Already registered? log in here.</h2>
{FrontEndUsers nocaptcha="1"}
{/if}
</div>
And I seem to remember when I first set this up it used to work but in the meantime some module upgrades might have corrupted that? I’m not 100% sure, though.
Now, I know in the SelfReg module settings I can set a page to redirect after registration and that works (i. e. I set it to redirect to “Test Page” previously and it showed the confirmation message there) but it feels pretty redundant to create an empty page just for that. Also this will change the current menu status etc.
Is there any better solution that lets me use the same page/template and it will just show the confirmation message in place of the registration form?

