How can I modify course format to add resources to section 0

How can I modify course format to add resources to section 0

על ידי Irma Gamez בתאריך
מספר תגובות: 5

Hi. 

I´m working with moodle 1.9 and I need to add resources to section 0, just like this site   http://moodlecommons.org

What files do I need to edit?

Thank you.

(Edited by Mary Evans - original submission Monday, 20 August 2012, 10:04 PM)

ממוצע דרוגים: -
בתגובה ל: Irma Gamez

Re: How to add resources to section 0

על ידי Mary Evans בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Peer reviewers תמונה של Plugin developers תמונה של Testers

Checkout Front page FAQ you will find the answers there.

בתגובה ל: Mary Evans

Re: How to add resources to section 0

על ידי Mary Cooch בתאריך
תמונה של Documentation writers תמונה של Moodle HQ תמונה של Particularly helpful Moodlers תמונה של Testers תמונה של Translators

Click the turn editing on button and then two drop downs will appear - add a resource and add an activity. Choose what you want from there.

בתגובה ל: Mary Cooch

Re: How to add resources to section 0

על ידי Irma Gamez בתאריך

I found the code for section 0 at \course\format\topics\format.php but I don´t know how to change the default forum that appears in that section.  Thank you.

בתגובה ל: Mary Evans

Re: How to add resources to section 0

על ידי Irma Gamez בתאריך

I´m sorry, I forgot to say that we create about 1,000 courses automatically. I need to add that resources at code level instead of modify the courses one by one.

בתגובה ל: Irma Gamez

Re: How to add resources to section 0

על ידי Gareth J Barnard בתאריך
תמונה של Core developers תמונה של Particularly helpful Moodlers תמונה של Plugin developers

Dear Irma,

This is a tough one, I tracked course creation down to the function 'create_course' in '/course/lib.php' but could not see how the news forum is added from there.  Need to keep looking חיוך

Cheers,

Gareth