Forum Discussion

jmurray's avatar
jmurray
Champion
12 years ago

Differentiating between types of things in Email Text Subjects for Subscription Digest

I would like my subject lines in notifications emails to be more specific and say "Updated Topic" for updated topics or ideas, "New Topic" for new threads to a forum you're subscribed to, and "New Id...
  • VenkS's avatar
    12 years ago

    To check if a topic is new or updated, you can compare the two:

     

    $message.postDate

    $message.lastEditDate

     

    If they are the same, the topic is new, otherwise it's updated.

     

    To check if a thread is an 'idea' or a 'forum', use:

     

    $thread.discussionStyle

     

    Hope that helps!