Hello
Is it possible to have separate locations for the login form and the reset password/activaiton forms?
I have my login form inside a slide down panel located at the top of the page.
On the login form my "forget password" button is actually a link to a password-recovery page where I call the chunk {{reset-pw-form}}
This works great, and the email sent out has a link back to this page (with the acitvaiton key).
I would prefer that the email sent out would contain a link to a different page, one where I can call the chunk {{new-pw-activation-tpl}} Which holds the activation form.
After doing a little research I’m thinking that this isn’t possible. In the &resetTpl description on
http://svn.modxcms.com/crucible/browse/~raw,r=37/modx-components/webloginpe/trunk/assets/snippets/webloginpe/docs/views.html is says:
The form presented when a user clicks the "Forgot Password" button. This form has only one input ("email"). They enter their email address, WebLoginPE sets a random password and key in the web_users table’s cachepwd field and sends them a link to the URL of the page that this was called from with the string "?service=activate&userid=3&activationkey=kl3tW5rtDi where "3" would be the users internalKey and "kl3tW5rtDi" would be the randomly generated activation key which is a 10 character string.
So...
I guess the next best thing would be to use the WebLoginPE call on the password-recovery page. This sounds more than ideal but by calling the type "simple" it will also include the login template, which I don’t want. None of the other "types" fit the bill so I’m not sure what options I have. Below is the call I would use. Is there any way to prevent the &loginFormTpl from presenting?
[!WebLoginPE? &type=`simple` &resetTpl=`reset-pw-tpl` &activateTpl=`new-pw-activation-tpl`!]
ANY ideas or help on how to make this work would be greatly appreciated.
Thanks
Jules