... | in sub_descendants.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
<macro name='sub_descendants' requires='node'>
<n.this_node.descendant_apps_list.>
<n.loop.>
<n.if.visitor.can_view.current_node>
<then>
<n.current_node.visitor_subscription.save
to="[n.subscription_to_field.value/]"
type="[n.subscription_type_field.value/]"
/>
</then>
</n.if.visitor.can_view.current_node>
</n.loop.>
</n.this_node.descendant_apps_list.>
</macro>
|
Free forum by Nabble | Edit this page |