Latest Announcement can allow only one attachments

Re: Latest Announcement can allow only one attachments

by Dave Weninger -
Number of replies: 2
Thank you very much for your instruction. It works!
I found the "Edit settings" which is located at the "gear icon" on the top right hand corner. I can change the number of attachments now. However, teachers have to change the number on their own now when they want to use the latest announcement. Do you know how to change it by default? Let's say change it to 10, so that teachers need not change the value each time.

Thank you for your help in advance.
Best Regards,

Kelvin Ma
In reply to Dave Weninger

Re: Latest Announcement can allow only one attachments

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers
You said that you changed the default number of attachments for all forums -
just to make sure we are talking about the same thing, go to Site Admin > Plugins > Activity Modukes > Forum
or yourmoodle/admin/settings.php?section=modsettingforum

That will affect all new forums.

The only way to change it retrospectively for existing forums is to edit each forum or through the database - but if you use the database, it will set the value for ALL forums, including where teachers have intentionally set it lower or higher than the default.

If you have access to the database, try this:

UPDATE `mdl_forum` SET `maxattachments` = '9';
In reply to Jon Bolton

Re: Latest Announcement can allow only one attachments

by Dave Weninger -
It works well. Thank you very much.
You help me a lot. Kelvin