I have a sidebar login in a chunk with the following call:
[!WebLoginPE? &loginFormTpl=`WLPEsidebarLogin` ®isterTpl=`WLPEregister` ®HomeId=`49` &successTpl=`WLPEloginSuccessTemplate` &profileHomeId=`50` &liHomeId=`47` ®SuccessId=`54` &messageTpl=`WLPEmessage`!]
I have a registration page (ID 49) with the following call:
[!WebLoginPE? &type=`register` &groups=`xbundle` ®Type=`instant` ¬ify=`[email protected]` ®isterTpl=`WLPEregister` &tosChunk=`tosChunk` ®Required=`1` !]
which still has the sidebar present on the page.
When I fail to fill in all the fields correctly in the registration form and submit, it shows a duplicate of the registration form in the sidebar (along with the original registration form again in the main content area), and no error message, despite having [+wlpe.message+] at the head of the registration form template and a chunk called WLPEmessage, and containing
<div id="wlpeMessage">
<p>[+wlpe.message.text+]</p>
</div>
above the content in the main template.
If I click to Register in either the menu or in the sidebar form using the register button it loads the register form in the main content area, with the sidebar login remaining as it was. It’s only if I don’t complete the form correctly that the duplicate form appears.
I’m sure I’m missing something simple here, but I can’t see what it is. Is there anyone out there who can set me straight?
Thanks all in advance.