From my programming experience, I find it's easier for me to keep track of what is going on by using comments (especially when I'm customizing something). How do I correctly enter a comment in the code of NAML?
I've seen both of these:
<n.comment.> With the comments entered here
Do you see anything wrong with the comment line below (line 3) in this macro?:
<override_macro name="digest email" requires="subscription,node_list"> <n.set_local_subscription.this_subscription/> <n.comment.>Filter subscriptions to only those who are in the Members groups</n.comment.> <n.filter_by.local_subscription.user.is_in_group group="Members" /> <n.new_email.> <n.send> <to.local_subscription.user.user_email/> <to_name.local_subscription.user.name/> <from_name.root_node.subject/> <subject><n.local_subscription.node.subject/> - <t>Digest Email</t></subject> <text_part.local_subscription.digest_text/> <html_part.local_subscription.digest_html/> <bounce_to.local_subscription.user.bounces_address/> </n.send> </n.new_email.> </override_macro>
I added this comment in and now the filter doesn't seem to be working right. Do I have it wrong or misplaced?
I don't really understand when I need to have an ending period ( .) or an ending slash (/ ) in the nabble code (I've read http://naml.nabble.com/NAML-language-introduction-td4335758.html but I'm still clueless.