jmontoyaa 02497755d1 Fix ticket plugin %!s(int64=8) %!d(string=hai) anos
..
ajax d9e718508c WIP vchamilo plugin %!s(int64=9) %!d(string=hai) anos
cli f7ce628c84 Update plugin %!s(int64=8) %!d(string=hai) anos
js d9e718508c WIP vchamilo plugin %!s(int64=9) %!d(string=hai) anos
lang 83548e3844 Add vchamilo fixes see BT#11051 %!s(int64=8) %!d(string=hai) anos
lib f7ce628c84 Update plugin %!s(int64=8) %!d(string=hai) anos
pix f3c53ae075 Add plugin customfooter & vchamilo as is %!s(int64=9) %!d(string=hai) anos
templates c023e350c3 WIP vchamilo plugin - Force creation of master snapshot to setup a default template. %!s(int64=9) %!d(string=hai) anos
views fdd33a50cf Make instance link open in new tab in vchamilo plugin %!s(int64=8) %!d(string=hai) anos
README.md 83548e3844 Add vchamilo fixes see BT#11051 %!s(int64=8) %!d(string=hai) anos
index.php 02497755d1 Fix ticket plugin %!s(int64=8) %!d(string=hai) anos
install.php c023e350c3 WIP vchamilo plugin - Force creation of master snapshot to setup a default template. %!s(int64=9) %!d(string=hai) anos
lib.php 83548e3844 Add vchamilo fixes see BT#11051 %!s(int64=8) %!d(string=hai) anos
plugin.php 02497755d1 Fix ticket plugin %!s(int64=8) %!d(string=hai) anos
template.tpl f3c53ae075 Add plugin customfooter & vchamilo as is %!s(int64=9) %!d(string=hai) anos
uninstall.php c023e350c3 WIP vchamilo plugin - Force creation of master snapshot to setup a default template. %!s(int64=9) %!d(string=hai) anos
vcron.php c023e350c3 WIP vchamilo plugin - Force creation of master snapshot to setup a default template. %!s(int64=9) %!d(string=hai) anos

README.md

Virtual Chamilo

Authors : Valery Fremaux (valery.fremaux@gmail.com), Julio Montoya

Virtual chamilo is a feature that allows running several chamilo instances sharing the same code base.

Version features

This is a yet prototypal version that is not full featured in back-office tools. At the moment, the setup of virtual clones still is a technical operation and has no middle-office GUI. Development is in progress to offer a sufficient medium-level administrability of the process.

How to setup

You need :

  1. Install the vchamilo package into the /plugin directory
  2. Install the plugin in chamilo administration
  3. Insert the virtualisation hook into the chamilo master configuration file:

    <chamiloroot>/app/config/configuration.php
    
  4. Insert the hook at the end of the file.

    include_once $_configuration['root_sys'].'plugin/vchamilo/lib.php';
    vchamilo_hook_configuration($_configuration);
    

    What you need for a virtual node is:

    • a blank database copy of chamilo
    • a dedicated course directory, that needs being accessible from chamilo installation root (directly, or using symlinks). the name of this directory is free, as it will be mapped into the vchamilo record.
    • a dedicated home page directory, that is located into /home directory and is named as the chamilo instance domain name.
    • a vchamilo record into the vchamilo table of the master installation. (the master installation is the install that refers to the effective "configuration.php" information.
    • an appropriate multiroot home root setup in the local chamilo instance
    • Prerequisites for VChamilo working nice

      Multiple URL access must be enabled:

      # in <chamiloroot>/main/inc/config/configuration.php
      $_configuration['multiple_access_urls'] = true;
      

      In the administration, you will need configure an adequate home root definition for the instance finding the dedicated home directory. You just need editing the http://localhost default host, and give the real domain name you are using.

      Check you have the /home/ clone of the standard home directory.

      Important note about file system permissions

      Vchamilos will use several side-directories apart from the standard installation (dedicated courses, dedicated home page). Check you set the adequate filesystem permissions (usually let the server write in there) for them.