SID-00682: Customized Webnotify Notification Emails
| Status: |
Unanswered |
TWiki version: |
4.3.2 |
Perl version: |
5.8.8 |
| Category: |
CategoryEmail |
Server OS: |
Solaris |
Last update: |
15 years ago |
I want to create customized notification emails that show the name of the topic that has been changed and the part of the topic that has been changed. However, the code below that is supposed to show only the changes doesn't seem to work very well. This is supposed to be the search section of my
My code for searching:
SCRIPTURL{"compare"}%/%WEB%/%TOPICNAME%">%IF{"%SEARCH{"\-\-\-\+.*" web="%WEB%" topic="%TOPICNAME%" type="regex" scope="text" nonoise="on" format="%TOPICNAME%"}%" then="%SEARCH{"\-\-\-\+.*" web="%WEB%" topic="%TOPICNAME%" type="regex" scope="text" nonoise="on" format="<b>$pattern(^\-\-\-\+*?\s([^\n\r]*).*)</b>"}%" else="<b>%TOPICNAME%</b>"}%
In the standard mailnotify.tmpl template I replaced the line of code below with the line of code I wrote above. I am wondering if this is how I do this, or if I have to change /tools/mailnotify.pm as well?
Original Line for searching:
<b>%MAKETEXT("Changed:")%</b> (%MAKETEXT{MAKETEXT{now [_1]" args=%DISPLAYTIME{"$hour:$min}%"}%}
--
DanielBeaulieu - 2009-12-21
Discussion and Answer
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2010-02-02
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.