sub_descendants_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 "sub_descendants_user".
... in subscribe_user_top_digest.naml
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<macro name='sub_descendants_user' requires='node' parameters='user'>
    <n.set_local_user.user/>
    <n.set_local_subscription.page_node.subscription_for email="[n.local_user.user_email/]" />
    <n.this_node.descendant_apps_list.>
        <n.loop.>       
            <n.set_local_subscription.current_node.subscription_for email="[n.local_user.user_email/]" />
            <n.if.local_user.can_view.current_node>
                <then>
                    <n.subscription_type_field.value/>
                    <n.local_subscription.save
                    to="[n.subscription_to_field.value/]"
                    type="[n.subscription_type_field.value/]"
                    />
                </then>
            </n.if.local_user.can_view.current_node>
        </n.loop.>
    </n.this_node.descendant_apps_list.>
</macro>