Convert single file upload to Adanced file upload (easily)

Convert single file upload to Adanced file upload (easily)

von Brian Mulligan -
Anzahl Antworten: 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!
Als Antwort auf Brian Mulligan

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

von Dave Perry -
Nutzerbild von 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
Als Antwort auf Dave Perry

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

von 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
Als Antwort auf Dave Perry

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

von 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

Als Antwort auf Brent Phar

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

von Andrew Osiname -

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

Als Antwort auf Andrew Osiname

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

von Mary Cooch -
Nutzerbild von Documentation writers Nutzerbild von Moodle HQ Nutzerbild von Particularly helpful Moodlers Nutzerbild von Testers Nutzerbild von 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.