How to store files (using filepicker) in a system wide context?

How to store files (using filepicker) in a system wide context?

by Vincent MICHELI -
Number of replies: 5

Hello smile

I am working on a shared resource repository. These resources are not in a course context or in a module context. They have to be in a global one.

How to store files (using filepicker) in a system wide context?

I tried to fake a context (in files table), but filestorage cron function delete files entry that are not associated with a real one.

Thanks in advance.

Average of ratings: -
In reply to Vincent MICHELI

Re: How to store files (using filepicker) in a system wide context?

by Tabitha Parker (was Roder) -

what about just putting them in site files (see site administration block, frontpage menu)

In reply to Tabitha Parker (was Roder)

Re: How to store files (using filepicker) in a system wide context?

by Stuart Mealor -
Picture of Particularly helpful Moodlers

You can do this in Moodle 1.9.

No such thing as Site Files in Moodle 2.0 - unless I missed it?

In reply to Stuart Mealor

Re: How to store files (using filepicker) in a system wide context?

by Vincent MICHELI -

Indeed, that is my problem sad

Sorry, I forgot to mention that I work in Moodle 2.0

It seems to be impossible to store several files in the same context (files table) using filepicker. Each new entry "break" the preview by delete the entry with filearea = content.

Any Idea ?

Cheers

In reply to Vincent MICHELI

Re: How to store files (using filepicker) in a system wide context?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Modules can associate files with the system context. It was discussed here some time ago. Search for forum threads that include 'sam marshall'.