| 1 |
tngintegrate.module readme.txt
|
| 2 |
by Arturo Ramos
|
| 3 |
arturo.ramos2@gmail.com
|
| 4 |
February 19, 2007
|
| 5 |
|
| 6 |
|
| 7 |
This is a beta version of a module that integrates Darrin Lythgoe's The Next Generation (TNG) genealogy
|
| 8 |
software with Drupal.
|
| 9 |
|
| 10 |
The module basically creates a new account for any Drupal user who does not exist in the TNG user tables.
|
| 11 |
|
| 12 |
For users that do exist, the module creates an autosubmit form that logs the user automatically into TNG.
|
| 13 |
|
| 14 |
This module will only work if TNG and Drupal share the same database.
|
| 15 |
|
| 16 |
To install, simply put the module in the /sites/all/modules folder and enable the module through the
|
| 17 |
admin/build/modules menu.
|
| 18 |
|
| 19 |
You will then need to configure the module by setting several key variables in the /admin/settings menu under
|
| 20 |
TNG Genealogy. These must be set. Even if all of the values appear correct, click on "Save Configuration" to
|
| 21 |
set the variables.
|
| 22 |
|
| 23 |
1. Path to TNG Directory. This should point to the folder on the server where the TNG software resides.
|
| 24 |
The default is "tng/" which means that TNG would be installed in a folder within the folder where the
|
| 25 |
Drupal installation resides. Make sure to add the trailing slash to the folder name.
|
| 26 |
|
| 27 |
2. Error logging. This determines whether the errors get logged into Drupal's watchdog module or get displayed
|
| 28 |
on the screen. The default is to use the Watchdog module.
|
| 29 |
|
| 30 |
3. Admin e-mail address for TNG. This is the "from:" address for welcome messages when new users are created.
|
| 31 |
|
| 32 |
4. Subject Line for TNG Welcome e-mail message - self explanatory
|
| 33 |
|
| 34 |
5. Text of TNG welcome e-mail message - self explanatory. This could include certain instructions on how to gain
|
| 35 |
more than access privileges, for example, having a tree created for which the user would have edit privileges.
|
| 36 |
|
| 37 |
6. If you are using a TNG version 6.0 or above, you will need to comment out line 101 and decomment line 103 so
|
| 38 |
that the module uses the password encryption that corresponds with the respective version of TNG.
|
| 39 |
|
| 40 |
In addition, you will have to grant users access to the module (to allow them to log in automatically from Drupal
|
| 41 |
and for Drupal to create new accounts for users) through the admin/user/access menu. There is one permission
|
| 42 |
that needs to be set for each Drupal user group "access TNG".
|
| 43 |
|
| 44 |
Finally, you will need to add a menu for the module, which will allow users to click and log onto TNG. This can
|
| 45 |
be done through the admin/build/menu menu. You can add a primary link that points to "tng" or add the suggested
|
| 46 |
menu item to the navigation menu under "TNG Genealogy."
|
| 47 |
|
| 48 |
There are certain shortcomings with the current module which will be addressed in future versions, namely:
|
| 49 |
|
| 50 |
1. Currently Drupal username is used for "Description", "Real Name" and "Username" in TNG when a new user is
|
| 51 |
created. Future version will allow admin to optionally choose which Drupal profile fields to use for these
|
| 52 |
fields in TNG.
|
| 53 |
|
| 54 |
2. Currently link between Drupal user table and TNG user table is by username. This presents problems if a user
|
| 55 |
changes his/her username in Drupal. Future version will base link on user ids with a correspondence table.
|
| 56 |
|
| 57 |
3. Assigning additional privileges such as upload and edit privileges in TNG must be done through TNG and cannot
|
| 58 |
be set through Drupal. Future version will allow admin option to create and assign edit privileges to trees
|
| 59 |
with account creation or through the user module in Drupal.
|
| 60 |
|
| 61 |
|
| 62 |
|