ExpertsDatabaseImplementationNotes » History » Version 6
Andreas Kohlbecker, 11/21/2007 11:20 AM
1 | 2 | Andreas Kohlbecker | The [[ExpertsDatabase]] is going to be implemented in Drupal by mainly using Drupal core and contributed modules. The final [[ExpertsDatabase]] will be released as a Drupal module which will perform some automatic installation task but manual installation and configuration will be also required. |
---|---|---|---|
2 | 1 | Andreas Kohlbecker | |
3 | |||
4 | 6 | Andreas Kohlbecker | [{{>toc}} |
5 | |||
6 | ] |
||
7 | 3 | Andreas Kohlbecker | |
8 | |||
9 | 1 | Andreas Kohlbecker | |
10 | # Drupal Modules |
||
11 | |||
12 | |||
13 | 2 | Andreas Kohlbecker | Beside core modules the following contributed modules are used to build up the [[ExpertsDatabase]]: |
14 | 1 | Andreas Kohlbecker | |
15 | |||
16 | 2 | Andreas Kohlbecker | * auto_nodetitle |
17 | 1 | Andreas Kohlbecker | |
18 | 2 | Andreas Kohlbecker | * cck (with cck_nodereference_views_fusion_47.patch) |
19 | 1 | Andreas Kohlbecker | |
20 | 2 | Andreas Kohlbecker | * cck_taxonomy_ssu |
21 | |||
22 | * subform_element |
||
23 | |||
24 | * taxonomy_xml |
||
25 | |||
26 | * views |
||
27 | |||
28 | * views_fusion |
||
29 | |||
30 | |||
31 | |||
32 | # How to install the [[ExpertsDatabase]] |
||
33 | |||
34 | |||
35 | |||
36 | 1 | Andreas Kohlbecker | ### Import taxonomies |
37 | |||
38 | |||
39 | Import all taxonomies xml files from ./expertDB/resources/ |
||
40 | |||
41 | |||
42 | When importing the taxonomies by the taxonomy_xml it is highly recommended that you set |
||
43 | |||
44 | the max_execution_time and max_input_time in the php.ini to a value which is high |
||
45 | |||
46 | enough to prevent from interrupting the import process. |
||
47 | |||
48 | We use the following setting. Five Minutes of max_execution_time should be sufficient: |
||
49 | |||
50 | |||
51 | ~~~ |
||
52 | max_execution_time = 300 |
||
53 | max_input_time = 120 |
||
54 | ~~~ |
||
55 | |||
56 | *IMPORTANT*: You must check the 'Allow duplicate terms' option when importing |
||
57 | |||
58 | - DAISIE taxonomy structure.import.xml |
||
59 | |||
60 | - geography-ed2.import.xml |
||
61 | |||
62 | |||
63 | Once all taxonomies are imported you should restore the former values of max_execution_time and max_input_time. |
||
64 | |||
65 | |||
66 | |||
67 | ### Setup access control |
||
68 | |||
69 | |||
70 | 2 | Andreas Kohlbecker | To setup the access control go to {{admin/user/access}} and set the permissions according to the following notes: |
71 | 1 | Andreas Kohlbecker | |
72 | |||
73 | 2 | Andreas Kohlbecker | In the following the _authenticated user_ role will be abbreviated by _AU_ and the asterisk character '*' is going to be used as wild card. |
74 | 1 | Andreas Kohlbecker | |
75 | 2 | Andreas Kohlbecker | |
76 | |||
77 | #### Module: [[DrupalModuleNodeProfile|NodeProfile]] |
||
78 | |||
79 | |||
80 | Grant access to the role _authenticated user_ for the following permissions: |
||
81 | |||
82 | |||
83 | 5 | Andreas Kohlbecker | * each `create expertbd_* content` |
84 | 4 | Andreas Kohlbecker | |
85 | 5 | Andreas Kohlbecker | * each `edit own expertbd_* content` |
86 | 4 | Andreas Kohlbecker | |
87 | 5 | Andreas Kohlbecker | * (each `edit expertbd_* content` ) |