[pmwiki-users] When does Site.NotifyList get created?

marc gmane at auxbuss.com
Mon Jan 29 03:38:58 CST 2007


jeb eddy said...
> 
> Per instructions for Notify, in    local/config.php   I have set
> 
>   $EnableNotify = 1;
> 
> and launched a browser to my site.
> 
> I inspect the PmWiki folders wikilib.d  and wiki.d I see pages
> belonging to the Site group in both folders, but none is 
> NotifyList.
> 
> Do I have to create this page manually via a link?

Yes (or using your preferred method for page creation).
 
> If Yes, in which folder?  Does it matter?

It's Site.NotifyList, so it will go in wiki.d when you create it.
  
> Also, the instructions for Notify present another way to add 
> recipients: an array, in local/config.php.
> 
> The example shown in the instructions is:
> 
>   $NotifyList[] = 'notify=john.doe at home.com group=Site';
> 
> The only other ARRAY I have seen in my mostly beginner's use of 
> PmWiki is for passwords, and there the syntax uses the word "array", 
> and nests all the entries within parens.
> 
> In the form shown above using "[]",  how do I add multiple items to 
> the array?  An example is all I need.

  $arr[] = value;

is the syntax to add a new entry to an array. If $arr doesn't exist, 
then it will be created.

-- 
Cheers,
Marc




More information about the pmwiki-users mailing list