#[from my structr.conf]
# JSON/REST servlet
<< default configuration values>>
JsonRestServlet.user.autologin = true
# HTML servlet
<<<defautl configuration values>>>
HtmlServlet.user.autologin = true
I am trying hard to figure out how to get register by email to wiork.I get emails when using it.But the link in the email is wrong just 0.0.0.0When I cut and paste the correct domain it works. You can enter the page once, not twice. So thas sweet and well.To change the 0.0.0.0 to the correct domain I was toold to use the Structr-UI/Data (crude tool)I made a crude guess that it ment adding a Mail Template.Have no clue how to contect it to the outgoung register by email, email.May be it's by what it's named as right know it's called SIGN_UP_TEXT, have no clue if thats correct.The Locale is set to: ${this.name}, ${this.eMail}The text is set to:
send_html_mail('structr-mail-dae...@mydomain.com', 'mydomainname', this.eMail, this.name, template('SIGN_UP_SUBJECT', 'en_US', this), template('SIGN_UP_HTML','en_US', this), template('SIGN_UP_TEXT','en_US', this))
Should both WELCOME_EMAIL_MESSAGE_PLAINTEXT and WELCOME_EMAIL_MESSAGE_HTML have the
${store('confirmation_host', get(find('SystemConfig', 'configName', 'host_uri'), configValue))} ?
Shouldn't WELCOME_EMAIL_MESSAGE_PLAINTEXT also have something like it?
| 2:50 PM (0 minutes ago) ![]() | |||
| Click here to finalize registration." The link goes to http://0.0.0.0/confirm_registration?key=dd5b018c-572d-42c9-adfa-21c01d9d8f71&target=register_thanks&onerror=register_error | ||||
Or maybe it should have some special name to override the default one?
Den måndagen den 29:e december 2014 kl. 15:09:31 UTC+1 skrev Lee Sandberg:
The EmailTemplates shouldn't have any new attributes right?
As I'm building the e-mail stuff for the portal right now, I thought it would be a good idea to write down all these steps again and publish it as a new tutorial. I hope to get it finished by today.
--
You received this message because you are subscribed to the Google Groups "structr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structr+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/f82dc509-9c53-4d4e-804b-286fb713dfa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Axel Morgner · CEO Structr (c/o Morgner UG) · Twitter @amorgner · Skype axel.morgner Hanauer Landstr. 291a · 60314 Frankfurt, Germany · Phone +49 151 40522060 https://structr.org - Structr: A revolutionary Software based on Neo4j https://structr.com - Structr and Neo4j Hosting
...
--
You received this message because you are subscribed to the Google Groups "structr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structr+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/4efe10b1-353e-4b32-91ac-dee48c6d0cda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "structr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structr+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/fa583538-7225-45c0-b86c-17b949bb5a02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "structr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structr+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/53b09d04-4b00-4d63-8d5f-dee8d3e8a6bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "structr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structr+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/f82dc509-9c53-4d4e-804b-286fb713dfa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "structr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/structr/yDhnw-UHQOI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to structr+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/54A43CAD.3020005%40morgner.de.
...
$.ajax({
url: '/structr/rest/registration',
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({
eMail: $('#e-mail').val()
}),
statusCode: {
201: function() {
console.log('Registration successful!');
}
}
});
...
--
You received this message because you are subscribed to the Google Groups "structr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structr+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/c15d1057-8d48-4680-b911-340b946636de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.