I want to create a stand alone registration form using the code found in the wiki.
Is there any opening/closing tags like the ones used for Login Form Tag
{exp:member:login_form return="site/index"}
{/exp:member:login_form}
Thanks in advance.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 23, 2008 11:39am
Subscribe [1]#1 / Jan 23, 2008 11:39am
I want to create a stand alone registration form using the code found in the wiki.
Is there any opening/closing tags like the ones used for Login Form Tag
{exp:member:login_form return="site/index"}
{/exp:member:login_form}
Thanks in advance.
#2 / Jan 23, 2008 9:22pm
Ah- there is no tag for the registration form like there is for the login form. Hence the confusion.
What the wiki does is basically show you how to do it without EE tags. Basically? That’s an html form. Needs a few tweaks- EE uses an action id number to indicate different form submissions. So- I’d just hard code that. Go look at your current rendered registration form. Do a ‘reveal code’ in your browser. This is what you’re looking for:
<form id='register_member_form' method="post" action="http://media-cow.com/" >
<div class='hiddenFields'>
<input type="hidden" name="XID" value="8e9563f7f023e86adbbe53bf5a95c931abedb483" />
<input type="hidden" name="ACT" value="7" />
<input type="hidden" name="RET" value="http://media-cow.com/" />
<input type="hidden" name="FROM" value="" />
<input type="hidden" name="site_id" value="1" />That’s mine. Go look at yours. You need to hard code the ACT to be whatever yours is. Set the ‘action’ to your site. You’ll need an XID value- but the wiki tells you how to get that- use {xid_hash}.
Think that’s about it.
So basically? Copy what’s in the wiki- paste it in a template. Go look at your own registration page- check the rendered code. Tweak the bits you pasted from the wiki so they match your site.
Make more sense?
This is a workaround- you can’t do it with tags. But you can pretty much fidge it.
#3 / Jan 24, 2008 12:36am
Or you can take a look at the User module from Solspace. That module frees many of the member features so that they act like the stand alone form. Check the docs for more info.
#4 / Jan 24, 2008 5:10pm
Thank you for your help.