Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Virtual Sites

De MoodleDocs
Salta a:navegació, cerca

Here are some rough notes that will build up into a spec of what needs to be done to make Moodle support virtual Moodles. (ie lots of Moodle sites but one code base)

PLAN 1


1) Add a site id to the user table 2) Add a site id to the course categories table 3) Add a site id to the course table 4) Add a site id to the roles tables 5) Force login 6) The siteid you have in your user account is in $USER and can be used to modify a number of SQL calls in datalib.php so that only things for that site are used.