you need to change also
dspace.url = http://lgbtqbib.org
your probably will look like
dspace.url = ${dspace.baseUrl}/${dspace.ui}
Andrea
Il 27/12/2016 21:44, David Brian Holt ha scritto:
Thank you! That worked. I'm still getting "/xmlui" in that URL though. Is
there a way to get that removed?
This is the sample email I received after changing those settings:
To complete registration for a DSpace account, please click the link
below:
http://lgbtqbib.org/xmlui/register?token=d0ece0e5e9c942d53da8674f9a391650
<http://lgbtqbib.org/xmlui/register?token=d0ece0e5e9c942d53da8674f9a391650>I'd
like to remove the "xmlui" out of the URL as I have already set it to the root
directory.
David
On Tuesday, December 27, 2016 at 12:29:51 PM UTC-8, Bollini Andrea wrote:
You need to change
dspace.baseUrl = http://lgbtqbib.org
dspace.url = http://lgbtqbib.org
If you want to further change the email the tempkates can be found in
/dspace/config/emails
register is the template of hour use case.
Hope this help
Andrea
Inviato dal mio dispositivo Samsung
-------- Messaggio originale --------
Da: David Brian Holt <[email protected]<javascript:>>
Data: 27/12/2016 19:25 (GMT+01:00)
A: DSpace Technical Support <[email protected]<javascript:>>
Oggetto: [dspace-tech] Email registration settings
OK, this is my last task before this goes into production. I want users to be
able to register via the link in Dspace. The problem I'm having, however, is
that I have forwarded port 8080 to 80 (using iptables) and changed the root
directory in Jetty in to xmlui. When a user tries to register they get the
setting I have in the dspace.cfg file. I read in previous posts to this forum
that you can modify the email templates directly but I don't see how that is
done.
Here is what I have in dspace.cfg currently:
##### Basic information ######
# DSpace installation directory
# Windows note: Please remember to use forward slashes for all paths (e.g.
C:/dspace)
dspace.dir = /dspace
# DSpace host name - should match base URL. Do not include port number.
dspace.hostname = lgbtqbib.org
# DSpace base host URL. Include port number etc.
dspace.baseUrl = localhost:8080
# The user interface you will be using for DSpace. Common usage is either xmlui
or jspui
dspace.ui = xmlui
Here is the email generated when I try to register a new user:
To complete registration for a DSpace account, please click the link
below:
localhost:8080/xmlui/register?token=d0ece0e5e9c942d53da8674f9a391650
If you need assistance with your account, please email
[email protected]<javascript:> or call us at xxx-555-xxxx.
The DSpace Team
I want the URL in that email to simply read:
lgbtqbib.org/register?token....<http://lgbtqbib.org/register?token....>..
How do I do that?
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected]<javascript:>.
To post to this group, send email to [email protected]<javascript:>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Andrea Bollini
Chief Technology and Innovation Officer
4Science, www.4science.it<http://www.4science.it>
office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
mobile: +39 333 934 1808
skype: a.bollini
linkedin: andreabollini
orcid: 0000-0002-9029-1854
an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.