init_new_post_custom_fields

NAML documentation   Watch a video
   Usages of this macro
... in poll.naml
88
89
90
91
92
93
94
95
96
97
98
<override_macro name="init_new_post_custom_fields">
    <n.overridden/>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_create_poll_in
Macro
Requires: user
Parameters: node_attr
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
>
        <then>
            <n.poll_max_choices_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="1" />
            <n.poll_allow_vote_change_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="true" />
            <n.poll_show_results_before_vote_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="true" />
            <n.poll_show_results_before_end_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="true" />
        </then>
    </n.if.visitor.can_create_poll_in.page_node>
</override_macro>
Overrides default macro
... in reply.naml
700
701
702
<macro name="init_new_post_custom_fields">
    <n.comment
Macro
Parameters: text
.>To be overridden</n.comment.>
</macro>