load_field_values

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 "load_field_values".
... in load_field_values.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<override_macro name="load_field_values">
    <n.subscription_to_field.set_value.>
        <n.if.page_node.visitor_is_subscribed>
            <then.page_node.visitor_subscription.to/>
            <else>DESCENDANTS</else>
        </n.if.page_node.visitor_is_subscribed>
    </n.subscription_to_field.set_value.>
 
    <n.subscription_type_field.set_value.>
        <n.if.page_node.visitor_is_subscribed>
            <then.page_node.visitor_subscription.type/>
            <else>DAILY_DIGEST</else>
        </n.if.page_node.visitor_is_subscribed>
    </n.subscription_type_field.set_value.>
</override_macro>
Overrides default macro
... in subscribe.naml
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<macro name="load_field_values">
    <n.subscription_to_field.set_value.>
        <n.if.page_node.visitor_is_subscribed>
            <then.page_node.visitor_subscription.to/>
            <else>DESCENDANTS</else>
        </n.if.page_node.visitor_is_subscribed>
    </n.subscription_to_field.set_value.>
 
    <n.subscription_type_field.set_value.>
        <n.if.page_node.visitor_is_subscribed>
            <then.page_node.visitor_subscription.type/>
            <else>INSTANT</else>
        </n.if.page_node.visitor_is_subscribed>
    </n.subscription_type_field.set_value.>
</macro>