<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
At the bottom of the foxnotify-comments page there is a suggestion on
how to enable more than one subject line using foxnotify.<br>
<br>
The suggestion is to set the following in config.php (copied from the
page <a class="moz-txt-link-freetext" href="http://www.pmwiki.org/wiki/Cookbook/FoxNotify-Comments">http://www.pmwiki.org/wiki/Cookbook/FoxNotify-Comments</a>)<br>
<br>
</font>
<blockquote><small><font face="Helvetica, Arial, sans-serif">$name =
PageVar($pagename, '$FullName');<br>
if ($name=='SomeGroup.SomePageA')<br>
$FoxNotifyTemplatePageFmt = ""$FoxNotifyListsGroup.FoxNotifyTemplatesA";<br>
if ($name=='SomeGroup.SomePageB')<br>
$FoxNotifyTemplatePageFmt = ""$FoxNotifyListsGroup.FoxNotifyTemplatesB";<br>
include_once("$FarmD/cookbook/fox/foxnotify.php");</font></small></blockquote>
<pre class="escaped"><font face="Helvetica, Arial, sans-serif">
</font></pre>
<font face="Helvetica, Arial, sans-serif">I have done this for our wiki
as follows:</font><br>
<br>
<blockquote><small><font face="Helvetica, Arial, sans-serif"># FOX</font><br>
  <font face="Helvetica, Arial, sans-serif">   
include_once("$FarmD/cookbook/fox/foxtemplates.php");</font><br>
  <font face="Helvetica, Arial, sans-serif">   
include_once("$FarmD/cookbook/fox/fox.php");</font><br>
  <font face="Helvetica, Arial, sans-serif">   
include_once("$FarmD/cookbook/fox/foxdelete.php");<br>
  <br>
  </font><font face="Helvetica, Arial, sans-serif">       
$EnableFoxNotifyHTMLEmail = true; </font><br>
  <font face="Helvetica, Arial, sans-serif">        $name =
PageVar($pagename, '$FullName');</font><br>
  <font face="Helvetica, Arial, sans-serif">        if
($name=='France.TemplateDeNouvelleAdresse')</font><br>
  <font face="Helvetica, Arial, sans-serif">       
$FoxNotifyTemplatePageFmt = "$FoxNotifyLists/FoxNotifyTemplatesBillTo";</font><br>
  <font face="Helvetica, Arial, sans-serif">   
include_once("$FarmD/cookbook/fox/foxnotify.php"); </font><br>
  <font face="Helvetica, Arial, sans-serif"><br>
    include_once("$FarmD/cookbook/fox/foxedit.php");</font><br>
  <font face="Helvetica, Arial, sans-serif">   
include_once("$FarmD/cookbook/fox/Contacts.php");</font></small><br>
</blockquote>
<br>
<font face="Helvetica, Arial, sans-serif">What I am finding is that
template isn't being detected (the email has no content) as a result</font><br>
<font face="Helvetica, Arial, sans-serif">the subject line does not get
altered - it stays set to whatever is in foxnotify.php.</font><br>
<br>
<font face="Helvetica, Arial, sans-serif">I'm not sure if there is a
typo in the suggestion above: i.e. ""$FoxNotifyListsGroup ......</font><br>
<font face="Helvetica, Arial, sans-serif">I tried it with single "
which produces the result I mentioned above, and with "" quotes around </font><br>
<font face="Helvetica, Arial, sans-serif">$FoxNotifyListsGroup.FoxNotifyTemplatesA
which gives me a nasty php error.<br>
<br>
Any tips would be appreciated. I am using the latest version of
Foxnotify.<br>
<br>
<br>
Thanks<br>
<br>
Graham<br>
</font>
<pre class="escaped">

</pre>
<br>
<br>
</body>
</html>