Hi There, how is everyone keeping?
How would i disable the News Forum by default when a user creates a new course please?
Your help is appreciated
Thanks
Disable News Forum When Creating A New Course.
Number of replies: 4Re: Disable News Forum When Creating A New Course.
I don't think this is possible without hacking some files. Could you not inform those creating the new course to simply click on the "eye" to hide this feature and forget about it?
Re: Disable News Forum When Creating A New Course.
When they create a course in course settings if they choose 0 news items you can then delete the news forum from the course page. That's not disabling it by default, but it's my way of getting rid of an unwanted news forum
Re: Disable News Forum When Creating A New Course.
Thanks
can you make it 0 my default please?
can you make it 0 my default please?
Re: Disable News Forum When Creating A New Course.
Zak - If you want to make it zero by default for your site, you could modify the /course/edit_form.php file. Around line 136 it will say:
$mform->setDefault('newsitems', 5);
simply change that line to:
$mform->setDefault('newsitems', 0);
and see if that gives you the desired behavior.
Peace - Anthony
$mform->setDefault('newsitems', 5);
simply change that line to:
$mform->setDefault('newsitems', 0);
and see if that gives you the desired behavior.
Peace - Anthony