Restructure Claroline

From ClaroDevel

Table of contents

Why ?

re organize struture because actually all is "shake" in 2 directories "/" and "/claroline/"

Restructure admin folder

Objective

customisable path for

  • course data
  • users data
  • root of web entrance of claroline
  • out of web section

multi repository for

  • courses data
  • users data
  • platform data
  • classes
  • categories

idea : if nothing is created in /claroline, /claroline would ben "renamed/deleted" before upgrade

Folders

.
|-- doc
|   |-- license
|   `-- sql
|-- garbage
|-- inc
|   |-- conf
|   |-- htmlarea
|   |   |-- examples
|   |   |-- images
|   |   |-- lang
|   |   |-- plugins
|   |   |   |-- CSS
|   |   |   |   `-- lang
|   |   |   |-- ContextMenu
|   |   |   |   `-- lang
|   |   |   |-- FullPage
|   |   |   |   |-- img
|   |   |   |   |-- lang
|   |   |   |   `-- popups
|   |   |   |-- SpellChecker
|   |   |   |   |-- img
|   |   |   |   `-- lang
|   |   |   `-- TableOperations
|   |   |       |-- img
|   |   |       `-- lang
|   |   `-- popups
|   |-- lang
|   |   |-- arabic
|   |   |-- brazilian
|   |   |-- bulgarian
|   |   |-- catalan
|   |   |-- croatian
|   |   |-- danish
|   |   |-- dutch
|   |   |-- english
|   |   |-- finnish
|   |   |-- french
|   |   |-- french_corporate
|   |   |-- galician
|   |   |-- german
|   |   |-- greek
|   |   |-- indonesian
|   |   |-- italian
|   |   |-- japanese
|   |   |-- malay
|   |   |-- polish
|   |   |-- portuguese
|   |   |-- russian
|   |   |-- simpl_chinese
|   |   |-- slovenian
|   |   |-- spanish
|   |   |-- spanish_latin
|   |   |-- swedish
|   |   |-- thai
|   |   |-- turkce
|   |   `-- vietnamese
|   `-- lib
|       |-- mimetex
|       `-- pclzip
|-- install
|-- www
|   |-- courses
|   |   `-- TEST
|   |       |-- chat
|   |       |-- document
|   |       |-- exercise
|   |       |-- group
|   |       |-- modules
|   |       |   `-- module_1
|   |       |-- page
|   |       |-- scormPackages
|   |       `-- work
|   |-- css
|   |-- html
|   |   `-- help
|   |-- img
|   |-- tools
|   |   |-- announcements
|   |   |-- auth
|   |   |   `-- ldap
|   |   |-- calendar
|   |   |-- campusAdmin
|   |   |-- chat
|   |   |-- course_description
|   |   |-- course_home
|   |   |-- course_info
|   |   |-- course_stat
|   |   |-- create_course
|   |   |-- document
|   |   |   `-- goto
|   |   |-- exercice
|   |   |-- external_module
|   |   |-- forum_admin
|   |   |-- group
|   |   |-- import
|   |   |-- learnPath
|   |   |   |-- include
|   |   |   `-- navigation
|   |   |-- phpbb
|   |   |   `-- language
|   |   |-- plugin
|   |   |-- tracking
|   |   |-- user
|   |   `-- work
|   `-- users
`-- wwwadmin
    |-- devTools
    |-- maintenance
    |-- managing
    |-- mysql
    |   |-- libraries
    |   `-- scripts
    `-- technical

113 directories

Files and folders

.
|-- README.txt
|-- doc
|   |-- CREDITS.txt
|   |-- INSTALL.txt
|   |-- README.txt
|   |-- license
|   |   |-- LICENCE.txt
|   |   |-- gpl.txt
|   |   |-- gpl_print.txt
|   |   |-- header.txt
|   |   `-- license_gpl.txt
|   `-- sql
|       |-- claroline.150.course.sql
|       `-- claroline.150.main.sql
|-- garbage
|-- inc
|   |-- claro_init_banner.inc.php
|   |-- claro_init_footer.inc.php
|   |-- claro_init_global.inc.php
|   |-- claro_init_header.inc.php
|   |-- claro_init_local.inc.php
|   |-- conf
|   |   |-- add_course.conf.php
|   |   |-- add_course.conf.php.dist
|   |   |-- admin.usermanagement.conf.php
|   |   |-- admin.usermanagement.conf.php.dist
|   |   |-- agenda.conf.inc.php
|   |   |-- agenda.conf.inc.php.dist
|   |   |-- announcement.conf.inc.php
|   |   |-- announcement.conf.inc.php.dist
|   |   |-- claro_main.conf.php
|   |   |-- claro_main.conf.php.dist
|   |   |-- course_info.conf.php
|   |   |-- course_info.conf.php.dist
|   |   |-- export.conf.php
|   |   |-- export.conf.php.dist
|   |   |-- group.conf.php
|   |   |-- group.conf.php.dist
|   |   |-- group.document.conf.php
|   |   |-- group.document.conf.php.dist
|   |   |-- index.conf.inc.php
|   |   |-- index.conf.inc.php.dist
|   |   |-- profile.conf.inc.php
|   |   |-- profile.conf.inc.php.dist
|   |   |-- user.conf.php
|   |   |-- user.conf.php.dist
|   |   |-- work.conf.inc.php
|   |   `-- work.conf.inc.php.dist
|   |-- htmlarea
|   |   |
|   |   `-- ... 
|   |-- installedVersion.inc.php
|   |-- introductionSection.inc.php
|   |-- lang
|   |   |-- arabic
|   |   |-- brazilian
|   |   |-- bulgarian
|   |   |-- catalan
|   |   |-- croatian
|   |   |-- danish
|   |   |-- dutch
|   |   |-- english
|   |   |-- finnish
|   |   |-- french
|   |   |-- french_corporate
|   |   |-- galician
|   |   |-- german
|   |   |-- greek
|   |   |-- indonesian
|   |   |-- italian
|   |   |-- japanese
|   |   |-- malay
|   |   |-- polish
|   |   |-- portuguese
|   |   |-- russian
|   |   |-- simpl_chinese
|   |   |-- slovenian
|   |   |-- spanish
|   |   |-- spanish_latin
|   |   |-- swedish
|   |   |-- thai
|   |   |-- turkce
|   |   `-- vietnamese
|   `-- lib
|       |-- add_course.lib.inc.php
|       |-- admin.lib.inc.php
|       |-- auth.lib.inc.php
|       |-- claro_mail.lib.inc.php
|       |-- claro_main.lib.php
|       |-- class.phpmailer.php
|       |-- class.smtp.php
|       |-- config.lib.inc.php
|       |-- course.lib.inc.php
|       |-- debug.lib.inc.php
|       |-- events.lib.inc.php
|       |-- export.lib.inc.php
|       |-- faculty.lib.inc.php
|       |-- file.lib.inc.php
|       |-- fileDisplay.lib.php
|       |-- fileManage.lib.php
|       |-- fileUpload.lib.php
|       |-- group.lib.inc.php
|       |-- learnPath.lib.inc.php
|       |-- main.db.lib.inc.php
|       |-- mimetex
|       |   `-- README.txt
|       |-- pager.lib.php
|       |-- pclzip
|       |   |-- pclerror.lib.php
|       |   |-- pcltrace.lib.php
|       |   `-- pclzip.lib.php
|       |-- stats.lib.inc.php
|       |-- statsUtils.lib.inc.php
|       |-- text.lib.php
|       |-- textarea.class.php
|       |-- tool_access_details.lib.php
|       |-- tree.lib.php
|       |-- user.lib.inc.php
|       `-- userManage.lib.php
|-- install
|   |-- INSTALL
|   |-- createMainBase.inc.php
|   |-- createPMABase.inc.php
|   |-- createStatBase.inc.php
|   |-- do_install.inc.php
|   |-- fillMainBase.inc.php
|   |-- fillPMABase.inc.php
|   |-- fillStatBase.inc.php
|   |-- index.php
|   `-- to_add.php
|-- restructure.txt
|-- www
|   |-- courses
|   |   `-- TEST
|   |       |-- chat
|   |       |   `-- TEST.chat.html
|   |       |-- document
|   |       |-- exercise
|   |       |-- group
|   |       |   `-- index.php
|   |       |-- index.php
|   |       |-- modules
|   |       |   `-- module_1
|   |       |-- page
|   |       |-- scormPackages
|   |       `-- work
|   |-- css
|   |   |-- default.css
|   |   |-- print.css
|   |   `-- screen.css
|   |-- html
|   |   |-- help
|   |   |   |-- help_claroline.php
|   |   |   |-- help_document.php
|   |   |   |-- help_exercise.php
|   |   |   |-- help_forum.php
|   |   |   |-- help_group.php
|   |   |   |-- help_home.php
|   |   |   `-- help_user.php
|   |   |-- textzone_right.inc.html
|   |   |-- textzone_right.inc.html.dist
|   |   |-- textzone_top.inc.html
|   |   `-- textzone_top.inc.html.dist
|   |-- img
|   |   |
|   |   `-- ... 
|   |-- index.php
|   |-- redirector.php
|   |-- tools
|   |   |-- announcements
|   |   |   |-- announcements.php
|   |   |   `-- messages.php
|   |   |-- auth
|   |   |   |-- checkEmail.php
|   |   |   |-- courses.php
|   |   |   |-- inscription.php
|   |   |   |-- inscription_second.php
|   |   |   |-- ldap
|   |   |   |   |-- authldap.php
|   |   |   |   |-- ldap_var.inc
|   |   |   |   |-- ldap_var.inc.php
|   |   |   |   |-- login.php
|   |   |   |   `-- newUser.php
|   |   |   |-- login.php
|   |   |   |-- lostPassword.php
|   |   |   `-- profile.php
|   |   |-- calendar
|   |   |   |-- agenda.php
|   |   |   `-- myagenda.php
|   |   |-- campusAdmin
|   |   |   |-- checkIfHtAccessIsPresent.php
|   |   |   `-- index.php
|   |   |-- chat
|   |   |   |-- chat.php
|   |   |   |-- chat_header.php
|   |   |   |-- messageEditor.php
|   |   |   |-- messageList.php
|   |   |   `-- messageList.php.bak
|   |   |-- course_description
|   |   |   |-- edit.php
|   |   |   |-- index.php
|   |   |   `-- pedaSuggest.inc.php
|   |   |-- course_home
|   |   |   |-- course_home.lib.php
|   |   |   |-- course_home.php
|   |   |   `-- course_home_edit.php
|   |   |-- course_info
|   |   |   |-- archive_course.php
|   |   |   |-- delete_course.php
|   |   |   |-- export.php
|   |   |   |-- infocours.php
|   |   |   |-- postpone.php
|   |   |   `-- restore_course.php
|   |   |-- course_stat
|   |   |   `-- index.php
|   |   |-- create_course
|   |   |   `-- add_course.php
|   |   |-- document
|   |   |   |-- Example_document.pdf
|   |   |   |-- Example_document_old.pdf
|   |   |   |-- document.php
|   |   |   |-- document_goto.php
|   |   |   |-- example_math_document.pdf
|   |   |   |-- goto
|   |   |   |   `-- index.php
|   |   |   |-- pdf_sample_generator.php
|   |   |   `-- rqmkhtml.php
|   |   |-- exercice
|   |   |   |-- admin.php
|   |   |   |-- answer.class.php
|   |   |   |-- answer_admin.inc.php
|   |   |   |-- claroPlayer.swf
|   |   |   |-- claroPlayer_0.1.zip
|   |   |   |-- exercice.php
|   |   |   |-- exercice_submit.php
|   |   |   |-- exercise.class.php
|   |   |   |-- exercise.lib.php
|   |   |   |-- exercise_admin.inc.php
|   |   |   |-- exercise_result.php
|   |   |   |-- question.class.php
|   |   |   |-- question_admin.inc.php
|   |   |   |-- question_list_admin.inc.php
|   |   |   |-- question_pool.php
|   |   |   `-- statement_admin.inc.php
|   |   |-- external_module
|   |   |   |-- external_module.php
|   |   |   |-- frameset_link.php
|   |   |   |-- upper_frame.php
|   |   |   `-- upper_frame_link.php
|   |   |-- forum_admin
|   |   |   `-- forum_admin.php
|   |   |-- group
|   |   |   |-- group.php
|   |   |   |-- group_creation.php
|   |   |   |-- group_edit.php
|   |   |   |-- group_properties.php
|   |   |   `-- group_space.php
|   |   |-- import
|   |   |   |-- import.php
|   |   |   `-- import_page.php
|   |   |-- learnPath
|   |   |   |-- importLearningPath.php
|   |   |   |-- include
|   |   |   |   |-- document.inc.php
|   |   |   |   |-- exercise.inc.php
|   |   |   |   `-- scorm.inc.php
|   |   |   |-- insertMyDoc.php
|   |   |   |-- insertMyExercise.php
|   |   |   |-- insertMyModule.php
|   |   |   |-- learningPath.php
|   |   |   |-- learningPathAdmin.php
|   |   |   |-- learningPathList.php
|   |   |   |-- module.php
|   |   |   |-- modules_pool.php
|   |   |   `-- navigation
|   |   |       |-- backFromExercise.php
|   |   |       |-- bottomModule.php
|   |   |       |-- scormAPI.inc.php
|   |   |       |-- startModule.php
|   |   |       |-- tableOfContent.php
|   |   |       |-- topModule.php
|   |   |       |-- updateProgress.php
|   |   |       `-- viewer.php
|   |   |-- phpbb
|   |   |   |-- auth.php
|   |   |   |-- bb_memberlist.php
|   |   |   |-- bb_profile.php
|   |   |   |-- config.php
|   |   |   |-- delpmsg.php
|   |   |   |-- editpost.php
|   |   |   |-- extention.inc
|   |   |   |-- functions.php
|   |   |   |-- index.php
|   |   |   |-- language
|   |   |   |   |-- README
|   |   |   |   |-- lang_big5_chinese.php
|   |   |   |   |-- lang_dutch.php
|   |   |   |   |-- lang_english.php
|   |   |   |   |-- lang_french.php
|   |   |   |   |-- lang_german.php
|   |   |   |   |-- lang_italian.php
|   |   |   |   |-- lang_japanese.php
|   |   |   |   |-- lang_mexican_spanish.php
|   |   |   |   |-- lang_nederlands.php
|   |   |   |   |-- lang_portuguese.php
|   |   |   |   |-- lang_portuguese_brazil.php
|   |   |   |   |-- lang_russian.php
|   |   |   |   |-- lang_spanish.php
|   |   |   |   `-- lang_swedish.php
|   |   |   |-- login.php
|   |   |   |-- logout.php
|   |   |   |-- newtopic.php
|   |   |   |-- page_header.php
|   |   |   |-- page_tail.php
|   |   |   |-- prefs.php
|   |   |   |-- reply.php
|   |   |   |-- replypmsg.php
|   |   |   |-- search.php
|   |   |   |-- sendpmsg.php
|   |   |   |-- topicadmin.php
|   |   |   |-- viewforum.php
|   |   |   |-- viewpmsg.php
|   |   |   |-- viewtopic.php
|   |   |   `-- whosonline.php
|   |   |-- plugin
|   |   |   `-- template.php
|   |   |-- tracking
|   |   |   |-- courseLog.php
|   |   |   |-- course_access_details.php
|   |   |   |-- delete_course_stats.php
|   |   |   |-- exercises_details.php
|   |   |   |-- learnPath_details.php
|   |   |   |-- logins_details.php
|   |   |   |-- lp_modules_details.php
|   |   |   |-- personnalLog.php
|   |   |   |-- toolaccess_details.php
|   |   |   |-- userLog.php
|   |   |   `-- user_access_details.php
|   |   |-- user
|   |   |   |-- bulk.php
|   |   |   |-- upper.php
|   |   |   |-- user.php
|   |   |   |-- userInfo.php
|   |   |   `-- user_add.php
|   |   `-- work
|   |       `-- work.php
|   `-- users
`-- wwwadmin
    |-- adminUserCourseSettings.php
    |-- admin_class.php
    |-- admin_class_course_registered.php
    |-- admin_class_register.php
    |-- admin_class_user.php
    |-- adminaddnewuser.php
    |-- adminadduserlist.php
    |-- admincats.php
    |-- admincourses.php
    |-- admincourseusers.php
    |-- adminmaintenance.php
    |-- adminprofile.php
    |-- adminregisteruser.php
    |-- adminusercourses.php
    |-- adminuserdeleted.php
    |-- adminusers.php
    |-- adminuserunregistered.php
    |-- advancedCourseSearch.php
    |-- advancedUserSearch.php
    |-- barre.inc.php
    |-- campusLog.php
    |-- checkIfHtAccessIsPresent.php
    |-- createClaroTables.php
    |-- createPathOfCourse.php
    |-- devTools
    |   |-- echoPost.php
    |   |-- fillCourses.php
    |   |-- fillTree.php
    |   |-- fillUser.php
    |   |-- index.php
    |   |-- langFile.php
    |   |-- makeLangFile.php
    |   |-- search_faculty.php
    |   `-- tableTypesTodo.inc.html
    |-- doc.admin.html
    |-- index.php
    |-- killDataBase.php
    |-- maintenance
    |   |-- createBaseOfACourse.sql.php
    |   |-- createMainBase.sql.php
    |   |-- createTrackingBase.sql.php
    |   |-- index.php
    |   |-- moveCourseProgram.php
    |   |-- moveLink.php
    |   |-- repairTables.sql.php
    |   |-- upgrade.css
    |   |-- upgrade.php
    |   |-- upgrade_conf.php
    |   |-- upgrade_courses.php
    |   `-- upgrade_main_db.php
    |-- managing
    |   |-- addAdminInhtpassword.php
    |   |-- changeProfile.php
    |   |-- editFile.php
    |   `-- mergeUser.php
    |-- mysql
    |   |-- ChangeLog
    |   |-- config.inc.php
    |   |-- config.inc.php.dist
    |   |-- hack.php
    |   |-- index.html
    |   |-- libraries
    |   |   |-- charset_conversion.lib.php
    |   |   `-- config_import.lib.php
    |   `-- scripts
    |       `-- check_lang.php
    |-- statClaro.php
    |-- tableTypesTodo.inc.html
    |-- technical
    |   |-- config.php
    |   |-- diskUsage.php
    |   |-- phpInfo.php
    |   `-- security.php
    |-- toolaccess_details.php
    |-- tools.php
    |-- traffic_details.php
    `-- workOnEachCourse.php

113 directories, 1459 files

Moosh

This solution for ideal case ...

1° access up to Documentroot
2° possibility to have 2 urlPath (one for campus, one for campus admin)
.
|-- doc
|-- garbage
|-- inc
|   |-- conf
|   |-- lang
|   `-- lib
|-- install
|-- www
|   |-- courses
|   |-- css
|   |-- html
|   |-- img
|   |-- js
|   |   `-- htmlarea
|   |-- tools <- here (calandar, announcement, ...)
|   `-- users
|
`-- wwwadmin
    |-- devTools
    |-- maintenance
    |-- managing
    |-- mysql
    `-- technical

..but ideal is not frequently the reality ?

So this is another solution

.
`-- claroline
    |-- admin
    |   |-- devTools
    |   |-- maintenance
    |   |-- managing
    |   |-- mysql
    |   `-- technical
    |
    |-- courses
    |-- core
    |   |-- admin
    |   |   |-- devTools
    |   |   |-- maintenance
    |   |   |-- managing
    |   |   |-- mysql
    |   |   `-- technical
    |   |-- doc
    |   |-- garbage
    |   |-- inc
    |   |   |-- conf
    |   |   |-- lang
    |   |   `-- lib
    |   |
    |   `-- install
    |-- css
    |-- html
    |-- img
    |-- js
    |   `-- htmlarea
    |-- tools  <- here (calandar, announcement, ...)
    `-- users

Mla

add folder data with subfolders courses and users

.
|-- data
|   |-- courses
|   `-- users
|-- doc
|-- garbage
|-- inc
|   |-- conf
|   |-- htmlarea
|   |-- lang
|   `-- lib
|-- install
|-- www
|   |-- css
|   |-- html
|   |-- img
|   `-- tools
`-- wwwadmin
    |-- devTools
    |-- maintenance
    |-- managing
    |-- mysql
    `-- technical