General developer forum

Working Offline

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Mark Dickinson
Working Offline


I need to be able to allow a user to be Using Moodle from a server and have the facility to use it offline, ie if the internet connection is not available.

If i'm right in my understanding, I may have to have a moodle installation on a server and an additional moodle installation on a laptop which would have the course installed onto it already

Is there anyway where these can meet as in the user completion data from the laptop be transferred back to the server once the internet connection has become live either manually or automatically



Average of ratings: -
Picture of Dan Marsden
Re: Working Offline
Group Core developersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Plugin developersGroup Plugins guardiansGroup TestersGroup Translators

cross-posted -I responded to your other post here:

Average of ratings: -
Picture of Fred Riley
Re: Working Offline

Hi Mark

Dan's reply is useful and detailed. I'll just reply to your first query in the second paragraph. You can install Moodle on localhost with XAMPP, then export the course as a .mbz backup and import that to the local installation. That's not so difficult for a tech, and indeed you may already know about it, in which case my apologies for telling granny how to suck eggs. That would allow the student to do their course offline, though how well a local installation would obey selective releases I'm not sure. You'd need to do a trial run.

I'm a Moodle development newbie so can't answer your second query, but for sure I'd be very interested in any answers posted here or elsewhere. I strongly suspect that a plugin would be needed to detect an Internet connection and then send data, as I very much doubt that this is part of Moodle core. Again, though, I write from relative ignorance, and welcome and actively seek enlightenment from gurus clown


Average of ratings: -