Project

General

Profile

ExpertsDatabaseImplementationNotes » History » Version 7

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