Forums | Mahara Community
Support
/
Changing View Feedback default from Public to Private
07 September 2010, 17:06
Can anyone quickly point me to the code I need to change to alter the default (checkbox) to make the default Feedback setting on views private, not public? I want to uncheck the "Public" option, by default.
I'm sure it's probably easy... it's just become a bit of needle in the haystack for me. Many thanks.
07 September 2010, 20:43
In 1.3, it's in artefact/comment/lib.php, in the add_comment_form function. Find the line that says
'defaultvalue' => !$defaultprivate,
and change it to
'defaultvalue' => false,
It's different in 1.2: the function is add_feedback_form and it's in lib/view.php.