-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
56 lines (34 loc) · 1.72 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Notes for Diogenes
PRESENTATION
------------
Diogenes is a content management system that allows you to quickly create and
host web sites for communities. It was written by the Polytechnique.org
team. More information can be found on the Diogenes project page :
http://opensource.polytechnique.org/diogenes/
It is released under the terms of the GNU Public License (GPL) version 2. The
full text of this license can be found in the COPYING file included in this
distribution.
DOCUMENTATION & INSTALLATION
----------------------------
The documentation for Diogenes, including installation instructions can
be found here:
http://doc.polytechnique.org/diogenes/
CUSTOMISING DIOGENES
--------------------
Diogenes provides several means of customising its look and behaviour.
* CONFIGURATION FILE
The first thing you can modify is Diogenes's configuration file called
"diogenes.config.inc.php". To have a list of the values you can assign, take a
look at the file called "diogenes.globals.inc.php".
* SUBCLASSING DIOGENES'S CLASSES
Diogenes is written in Object-Oriented Programming (OOP), and it is possible to
specify the classes to use from the configuration file. For instance, if you
want to change the look and/or behaviour of Diogenes's toplevel pages you would :
- create a class called "CustomToplevel" for instance, which derives from
"DiogenesToplevel". Let us say this class is stored in a file called
"custom.toplevel.inc.php".
- include "custom.toplevel.inc.php" from your configuration file like this :
require_once 'custom.toplevel.inc.php';
- tell Diogenes to use your CustomToplevel class to display toplevel pages by
setting the following in your configuration file :
$globals->toplevel = "CustomToplevel";