I have tried the integration for several reasons:

1. I like TNG, but want to integrate it with my main website and theme
2. I'm not great at code, especially php, so I'm hoping Drupal will ease that need.
3. Drupal integrates will with my preferred theme.
Therefore, if integrating Drupal and TNG works, I'm set.

I tried following your instructions although I was a little foggy during one part about what you meant, so I might have made a mistake. I wrote my question originally to Darrin Lythgoe, but he suggested I contact you. I'm going to cut and paste the description I sent him, without the specific links. If more detail would help you know what to do, let me email the access links to you, as I don't want to post those details here:

> I decided to set up a test subdomain that I could mess with, leaving my live work along.

> I got to the point that I could log on to the drupal based site and I could operate my genealogy site (using the same database I ordinarily use, just directed from a different URL)

> I then read Arturo Ramos' file describing how to implement his tngintegrate module. For the most part, the implementation seemed to go well. I set up Drupal in the root with tngintegrate in the modules, set up TNG in root/tng/ folder and did the configurations he suggested.

> Now, I can't log on to root/tng/admin. I get a logon screen, but it doesn't accept my administrative logon any more. I tried different logons through Drupal, including the same name and other names to see if would propagate to TNG but it didn't.

> When I log on through Drupal and then try to go to root/tng/ it is "Forbidden". When I go to root/tng/index.php (which, as a file, doesn't exist at this point, I get endless nesting of "tng genealogy" in the same theme.

I'm attaching the "nesting" screenshot so you can see that strange piece and the theme I'm using.

Doug

CommentFileSizeAuthor
tng_nesting.jpg119.19 KBdbeezley

Comments

arturoramos’s picture

You will need to provide more information to figure this out.

As a general rule, TNG should not be accessed directly once integrated with Drupal. It needs to be accessed through Drupal using a menu item that you create that points to the TNG module, i.e. adding to the navigation menu or to a top-page main menu.

If you have the same admin username in TNG as in Drupal, Drupal will overwrite the TNG password, so you can no longer log on using the old TNG password once Drupal takes over that user. Only Drupal will be able to log you into the account.

What do you mean there is no root/tng/index.php file? There needs to be one for the module to work.

Can you post a screenshot of your tng module configuration in Drupal?

arturoramos’s picture

Assigned: Unassigned » arturoramos
Status: Active » Closed (fixed)

Closing issue due to lack of response from user and obsolescence of question given new release.

punintended’s picture

Is there a way to use this module with 'legacy' installations of TNG? My TNG install has been around for a while and uses a separate database from the drupal install - that seems to be an issue.