Re: how to access "node.subject" and "location.local_node.subject" in the same macro
Posted by
nnako on
Dec 04, 2014; 11:31am
URL: https://support.nabble.com/how-to-access-node-subject-and-location-local-node-subject-in-the-same-macro-tp7592800p7593023.html
Hi LouK,
here my thoughts about your proposed solution:
You are adding the name of the subforum to the SUBJECT part of the notification eMail. But I'd like to use it within the BODY part of the notification eMail because this would fit to my concept. My first idea was, thus, to take the variable defining part from the macro "start_new_topic_line" and paste it into the macro "instant_html" to be able to use the object within macro "instant_html":
<n.set_local_node.page_node.get_app_node/>
As the required macro parameters seem to fit, why should there be any hidden requirement? But it doesn't work like this, and there is no way to find out except asking questions in this support forum and wait for answers.
You know, I just want to in-depth understand the syntax of NAML in this. Concerning the proper usage of parameters, variables,... In order to be free to create my own solutions without having to ask one question after the other here in the "support forum". Given the proper technical / structural documentation or general knowledge, I could find the solutions for most of my problems myself. But documentation does not seem to be on any priority list, yet.
Maybe there would be another idea to include the original subforum name into the body text of a notification eMail?
Thanks.