Just bought the User module and attempted to set up a proof of concept form.
I’ve copied the examples, created a key notification template, and pointed to it from my exp:user:key tag.
However when i fill in the form and hit SUBMIT i am simply returned to the form, with no message, no notification of a key being generated, and no email being sent out.
I can provide login info if a tech support person wants to poke around…
In meantime here is the code for my key form:
{exp:user:key template="staff/invite-notify" form_id="invite" form_id="invite" html="no" word_wrap="yes"}
<p>
Member Group:
<select name="group_id">
{member_groups}
{if {group_id} > 4}
<option value="{group_id}" {if {group_id} == 6}selected{/if}>{group_title}</option>
{/if}
{/member_groups}
</select>
</p>
<p>
<label for="to">To Email:</label>
<input name="to" value="" class="entryfield" />
</p>
<p>
<label for="name">From Name:</label>
<input name="name" value="{logged_in_screen_name}" class="entryfield" />
</p>
<p>
<label for="from">From Email:</label>
<input name="from" value="{logged_in_email}" class="entryfield" />
</p>
<p>
<label for="subject">Subject:</label>
<input name="subject" value="employee website" class="entryfield" />
</p>
<p>
<input type="submit" class="submit" /></p>
{/exp:user:key}
And here is the code for the invite-notify template mentioned in the above code:
Hello,
This is your invitation to sign up for access to the staff-only section of our website.
Your invitation code is: {key}
Please follow this link to complete your registration:
http://www.mydomain.com/user/key_register_template/key/{key}
Any suggestions?
(By the way, the example in the documentation for the Key module uses smart quotes, which means when it is copied and pasted into a template it doesn’t work.)
