1bd3cf5acf929924e5e2c71d74ba959df6c0c187
[atutor.git] / mods / announcement_subscription / readme.txt
1 This module installes the following into the file /editor/add_news.php:\r
2 \r
3         /***** \r
4         * Added by announcement_subscription: Send mail to announcement subscribers \r
5         */\r
6 \r
7          $subscriberMod =& $moduleFactory->getModule('announcement_subscription'); \r
8          if ($subscriberMod->isEnabled() && !$subscriberMod->isMissing()) { \r
9                  include_once(AT_MODULE_PATH . 'announcement_subscription/sendmail.php'); \r
10          } \r
11 \r
12         /***** \r
13         * End announcement_subscription \r
14         */ \r
15         \r
16 These lines are added immediately after the line \r
17 \r
18   if (!$msg->containsErrors() && (!isset($_POST['setvisual']) || isset($_POST['submit']))) {\r
19 \r
20 which should be around line 70 of the file. add_news.php needs to be writable for this module\r
21 to install properly - if the file is unwritable you will need to change the file permissions\r
22 before installing the mod. There are different ways to do this depending on the web server software,\r
23 please see the web server documentation for details. \r
24 \r
25 To learn more about file permissions, see http://en.wikipedia.org/wiki/Permissions\r