Convert single file upload to Adanced file upload (easily)

Convert single file upload to Adanced file upload (easily)

дэргэд Brian Mulligan -
Хариу нийтлэлийн тоо: 5
Is there a way to convert an existing 'single file upload'' assignment, to 'Advanced file upload' without deleting and creating a new assignment?

This might save me a lot of work.

Thanks.

Brian

Brian Mulligan brian.mulligan@gmail.com, http://brian.mulligan.googlepages.com/
Open Learning Coordinator, Institute of Technology Sligo, Ireland http://www.itsligo.ie/online
Phone: +353 71 9137245 Mobile: +353 87 2192070 Skype : brianmmulligan
Join the Irish Learning Technology Association http://ilta.net/ - it's free!
Үнэлгээний дундаж: -
Brian Mulligan-н хариуд

Re: Convert single file upload to Adanced file upload (easily)

дэргэд Dave Perry -
Testers зураг
Brian

I've found a way that involves modifying the database entry for the assignment. In the table mdl_assignment, you need to find the row (use the description field contents to help) then edit the assignmenttype field value to become "uploadsingle" to "upload" - find a techy or database type if you need help accessing your database that underpins moodle.

To show ALL assignments id, description and type fields...
SELECT id,assignmenttype,description FROM mdl_assignment;

Find the value of id field where the description matches the one you want to change. When you know the id of the row to update (which I'm referring to as changeid here)...
UPDATE mdl_assignment SET assignmenttype='upload' WHERE id=changeid


Hope that helps,
Dave
Dave Perry-н хариуд

Re: Convert single file upload to Adanced file upload (easily)

дэргэд Brian Mulligan -
Thanks, Dave. It helps to a point. I act as Moodle administrator insofar as I set up new courses and provide some level of support to teaching staff. Neither I nor any of the teaching staff would be able to do what you described. We are hosted externally by Moodle specialists who could do that for us, but I would imagine that if the demand was small it would be easier to create new assignments (and ask students to resubmit if necessary).

At least now i know where we stand on this.

thanks again.

Brian
Dave Perry-н хариуд

Re: Convert single file upload to Adanced file upload (easily)

дэргэд Brent Phar -

Thanks David!  This worked like a charm.  Saved me hours of work, and explaining to the students that they needed to re upload their first assignment.

Brent

Brent Phar-н хариуд

Re: Convert single file upload to Adanced file upload (easily)

дэргэд Andrew Osiname -

can i convert an online assignment type to an advanced upload?

Andrew Osiname-н хариуд

Re: Convert single file upload to Adanced file upload (easily)

дэргэд Mary Cooch -
Documentation writers зураг Moodle HQ зураг Particularly helpful Moodlers зураг Testers зураг Translators зураг

Hi there. No you can't, at least not "easily" as put in your subject. Whether there is a "difficult" way to do it via the database I don't know  but certainly in Moodle the quickest way would be simply to make a new assignment and get the students to use that new one instead.