1 | Configuration and Customization |
---|
2 | ******************************* |
---|
3 | |
---|
4 | .. _configuration: |
---|
5 | |
---|
6 | Portal Configuration |
---|
7 | ==================== |
---|
8 | |
---|
9 | There are many places in Kofa where portal parameters can be set or |
---|
10 | page descriptions can be added. These parameters are attributes of |
---|
11 | either dedicated configuration objects or of containers in the |
---|
12 | academics and applicants section. The latter have been described |
---|
13 | elsewehere. Here we explain the interfaces of the configuration |
---|
14 | section. |
---|
15 | |
---|
16 | Technically speaking, the portal configuration section is a |
---|
17 | container of type `ConfigurationContainer` with id ``configuration`` |
---|
18 | which contains session configuration subcontainers:: |
---|
19 | |
---|
20 | |
---|
21 | Portal Configuration (ConfigurationContainer) |
---|
22 | | |
---|
23 | +--->SessionConfiguration |
---|
24 | |
---|
25 | Much like ``academics``, ``students``, ``applicants``, ``hostels`` |
---|
26 | and ``documents``, also ``configuration`` is a unique container |
---|
27 | which is located in the `IUniversity` instance. |
---|
28 | |
---|
29 | Site Settings |
---|
30 | ------------- |
---|
31 | |
---|
32 | The site setting parameters are the attributes of the configuration |
---|
33 | container to be set via the `ConfigurationContainerManageFormPage`. |
---|
34 | The page opens, if an officer with |
---|
35 | :py:class:`ManagePortalConfiguration<waeup.kofa.permissions.ManagePortalConfiguration>` |
---|
36 | permission clicks the 'Portal Configuration' link in the side box. |
---|
37 | |
---|
38 | .. literalinclude:: ../../../src/waeup/kofa/interfaces.py |
---|
39 | :pyobject: IConfigurationContainer |
---|
40 | |
---|
41 | The page alows furthermore to add or access the containing session |
---|
42 | configuration objects. |
---|
43 | |
---|
44 | Session Settings |
---|
45 | ---------------- |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | .. literalinclude:: ../../../src/waeup/kofa/interfaces.py |
---|
50 | :pyobject: ISessionConfiguration |
---|
51 | |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | .. _customization: |
---|
56 | |
---|
57 | Portal Customization |
---|
58 | ==================== |
---|