save_field_values_user

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 "save_field_values_user".
... in subscribe_user.naml
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<macro name="save_field_values_user" requires="user">
    <n.set_local_user.this_user/>
    <n.set_local_subscription.page_node.subscription_for email="[n.local_user.user_email/]" />
    <n.if.equal value1="save-subscription" value2="[n.action_parameter/]">
        <then>
            <n.local_subscription.save
            to="[n.subscription_to_field.value/]"
            type="[n.subscription_type_field.value/]"
            />
           <n.page_node.sub_descendants_user user="[n.local_user/]"/>
            
            <n.if.visitor.is_site_admin>
                <then>
                    <n.redirect_to.subscription_saved_user_url/>
                </then>
                <else>
                    <n.redirect_to.subscription_saved_url/>
                </else>
            </n.if.visitor.is_site_admin>
        </then>
    </n.if.equal>
</macro>