Below I have attached an updated version of Node Relativity 5.x-2.4 to be compatible with Drupal 6. It appears to run well, but is not fully tested. It includes Views 2 support, and several code clean-up changes. While everyone is very excited about Relativity 3, some may need this module now. If this is your case, I hope this serves you well.

Comments

rsmith5’s picture

You may need to change the file extension to .tar.gz

jorgeegomez’s picture

Installed it on a temp site (previously upgraded from 5.x) and ran update.php - Everything seems to work ok, I can see the relationships I had defined, but while trying to search, I get
Call to undefined function views_load_cache() in /var/www/drupal/sites/all/modules/relativity/relativity.module on line 1282

jorgeegomez’s picture

Status: Needs review » Needs work
As If’s picture

I installed this as a "downgrade" from the now-defunct version 6.x-1.x-dev. The "Regular settings" and "Advanced settings" tabs seem to work normally. The "Display settings" tab barfed completely. Upon hitting the back button, I saw...
user warning: Table 'mydatabase.view_view' doesn't exist query: SELECT name FROM view_view ORDER BY name

1. There is no table called "view_view". So I modified line 671 to read "views_view" (the actual name of the table). But the Display settings page still barfed.

2. So I commented out the entire portion of relativity_display_settings() that handles views selections. (Look for the words "allow user to choose a view to render a specifc" around line 667.) I commented out the entire IF clause below that comment. Now the Display settings tab is working.

rsmith5’s picture

Yeah, there are some dependencies on the Views 1 module in a few places in the code. When hitting these functions the module breaks. In the immediate future, just commenting out the Views 1 dependent code will be sufficient to keep the basic relativity functions working. In the future I'm not sure if we want to try to port the features to Views 2 or continue without it. Patches are welcome.

rsmith5’s picture

StatusFileSize
new28.04 KB

Ok, I believe I have taken care of the bugs discussed above. If you find any more, please let me know.

Thanks.

lelizondo’s picture

Status: Needs work » Needs review

I've been using #6 and it works great (views2 included). I hope this could be committed soon so update manager stops yelling at me about this module not being supported.

darius’s picture

Great, I'll commit soon. Thanks!
Darius

darius’s picture

This version is now committed to 6.1-dev branch. Could someone go to
http://drupal.org/node/237357, download and install http://ftp.drupal.org/files/projects/relativity-6.x-1.x-dev.tar.gz, and verify that everything works?

I will then release the official 6.x-1.1.
Thanks,
Darius

As If’s picture

1. Deactivated previous dev version (Information added by drupal.org packaging script on 2008-03-25)
2. Moved relativity folder out of module path
3. Uploaded new dev version
4. Activated Node Relativity. No problems.

All tabs are working, all functions seem to be working. My previous relationships were retained.

5. Removed an existing child from its parent node. Worked fine.
6. Created a new child node attached to that parent. Worked fine.

LVX
TF

lelizondo’s picture

Status: Needs review » Reviewed & tested by the community

I think it's stable enough for a dev release. Maybe there will be bugs in the future but maybe they should be reported in separate issues.

I don't want to move the status to fixed, I think darius or wilco should do it, but "reviewed and tested" should represent a more 'real' status of this issue.

darius’s picture

Status: Reviewed & tested by the community » Fixed

Released as 6.x-1.1. Thanks to rsmith5 for his work in porting the module, and everyone else for testing.

Please start a new issue to report new problems.

Darius

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.