Hi Hans

I am indeed using Foxnotify through Fox form.

The 
(:foxmail template=EMailTemplatePage target=EmailTargetListPage:) works really well in that the subject line in the e-mail header now correctly picks up the subject line defined in the specified template.
However now the subject line is also appearing in the e-mail body iself.

In the template I have:
[[#subject]]
New Billto Request
[[#subjectend]]

..... template ......
at the top of the template - and the words  New Billto Request appear  not only in the Subject line of the e-mail header but- exactly as formatted in the wiki template, on the first lines inside the e-mail body.

I'm not sure how I can overcome this?

Thanks

Graham


Hans wrote:
Thursday, September 18, 2008, 1:36:09 PM, Graham Archer wrote:

  
 I'm not sure if there is a typo in the suggestion above: i.e. ""$FoxNotifyListsGroup ......
 I tried it with single " which produces the result I mentioned above, and with "" quotes around
 $FoxNotifyListsGroup.FoxNotifyTemplatesA which gives me a nasty php error.
    

the double "" is certainly an error.
Try the code with inserting the group name for $FoxNotifyListGroup,
I think the default is 'FoxNotifyLists', but you may have your own
location.

If you evoke FoxNotify through a submission of a Fox form, you could
add to the form a markup like
(:foxmail template=EMailTemplatePage target=EmailTargetListPage:)

and so specify particular email template pages (each with its own
custom subject line etc) for different forms, or have one out of several
versions of the above markup conditionally displayed.


  ~Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
  
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to