customize user registration email

I'm looking for a way to customise user registration email. I've found the corresponding text in EmailInviteDocTemplate.ftl , and the extension is org.nuxeo.ecm.user.registration.UserRegistrationService but my customised template is not taking effect. Can you tell me what i'm missing ?

EDIT

Here is what i've done

user-registration-contrib.xml :

<?xml version="1.0"?>
<component name="edoc360.invitation.user">
    <require>org.nuxeo.ecm.user.invite.core.service.contrib</require>
  <require>org.nuxeo.ecm.user.invite.core.types.contrib</require>

  <extension target="org.nuxeo.ecm.user.invite.UserInvitationService"
             point="configuration">
    <configuration>
      <requestDocType>UserInvitation</requestDocType>
      <container>
        <docType>UserInvitationContainer</docType>
        <parentPath>/management/</parentPath>
        <name>invitationRequests</name>
        <title>Invitation Requests Container</title>
      </container>
      <validationEmail>
        <title>Invitation e-Doc 360</title>
        <template>skin/views/userRegistration/EmailInviteDocTemp.ftl</template>
      </validationEmail>
      <reviveEmail>
        <title>You are invited to access Nuxeo</title>
        <template>skin/views/userRegistration/ReviveEmailTemplate.ftl</template>
      </reviveEmail>
      <enterPasswordUrl>site/userInvitation/enterpassword/</enterPasswordUrl>
      <validationRelUrl>site/userInvitation/validate</validationRelUrl>
    </configuration>
  </extension>

</component>

and i've modified my text in EmailInviteDocTemp.ftl

0 votes

1 answers

1674 views

ANSWER

What do you mean, "not taking effect"? It is not displayed? Where and how have you edited it?
01/13/2016

Greg Drayon can you see my update ? Not taking effect means that i still have the original text nothing changed
01/13/2016

It's working thank you so much Greg Drayon
01/13/2016



According to what I see here and here (lines 643-644), maybe you shoud replace:

&lt;extension target=&quot;org.nuxeo.ecm.user.invite.UserInvitationService&quot;
             point=&quot;configuration&quot;&gt;
    &lt;configuration&gt;

with

&lt;extension target=&quot;org.nuxeo.ecm.user.invite.UserInvitationService&quot;
             point=&quot;configuration&quot;&gt;
    &lt;configuration merge=&quot;true&quot;&gt;
1 votes