after_registration

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "after_registration".
... in after_registration.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<override_macro name="after_registration" requires="user">
    <n.new_email.>
        <n.send>
            <to.email_field.value/>
            <to_name.local_user.name/>
            <bcc.root_node.owner.user_email/>
            <from>harvey44@nyskiblog.com</from>
            <from_name.welcome_email_from_name/>
            <subject.welcome_email_subject/>
            <text_part.welcome_email_text/>
            <html_part.welcome_email_html/>
        </n.send>
    </n.new_email.>
</override_macro>
Overrides default macro
... in email_registration_notification.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<override_macro name="after_registration" requires="user">
    <n.overridden/>
    <n.set_local_user.this_user/>
 
    <n.users_in_group. group="[n.administrators_group/]">
        <n.loop.>
            <n.new_email.>
                <n.send>
                    <to.current_user.user_email/>
                    <to_name.current_user.name/>
                    <from_name.root_node.subject/>
                    <subject><t>New user:</t> <n.local_user.name/></subject>
                    <text_part.local_user.new_user_email_text/>
                    <html_part.local_user.new_user_email_html/>
                </n.send>
            </n.new_email.>
        </n.loop.>
    </n.users_in_group.>
</override_macro>
Overrides default macro
... in register.naml
294
295
296
<macro name="after_registration" requires="user">
    <n.comment.>To be overridden</n.comment.>
</macro>