Port to 6.x

fago - February 8, 2008 - 18:39
Project:Node Family
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

nodefamily should be improved to a general node relation (API) module, while "old" features will be available in another legacy module.

#1

tanc - April 8, 2008 - 06:02

Any news on how this is progressing? Will the module retain the same name or should I look out for something new?

The 5.x version of the module is awesome and I use it extensively on a complex site, thanks for coding it.

#2

chipway-drupal - April 15, 2008 - 11:49

Hi,

Sorry for the new issue. I copy my question here.

Do you plan to upgrade Node Family to D6 ?

Do you have any idea of the availability date ?

Thanks a lot.

#3

edward.peters - May 7, 2008 - 07:31

I have heard from fago that a port has been done, but it needs testing. He says he will publish the code asap so that we can test. Warm thanks to these heroes!

#4

fago - May 15, 2008 - 08:17

Here is it. as said it needs testing and perhaps some love, but it should basically work.

Conceptional changes since 5.x-1.x:
* the main module changed to a node relation API module, which can be used by other modules or e.g. by not yet existing pageroute integration
* the "old" functionality of automatically creating relations between the nodes of a user is gone into a nodefamily legacy module, which makes use of the new API.
* Views integration is still missing

AttachmentSize
nodefamily.zip 32.16 KB

#5

tanc - May 15, 2008 - 22:11

Awesome fago, nice one. I will test it soon... actually not for a little while but I'm looking at using it on an upcoming D6 project so I'll let you know my experience. Thanks.

#6

edward.peters - May 19, 2008 - 11:05

Fago, thanks so much for publishing this code. I have done a little initial testing. I notice that the readme.txt may need a little updating in relation to the changes, e.g. admin/content/nodefamily apparently replaced now by admin/content/nodefamily_legacy. Also, when I put the function nodefamily_relation_load into the node.tpl file as per the readme.txt, the function was not found. Unfortunately I am not a Drupal developer and therefore not able to offer more useful feedback at present. But I look forward to seeing the new module stabilised, as I am in great need of it! Thanks again.

#7

fago - June 8, 2008 - 14:47

hm, I think README is still the old and needs to be updated.

#8

chipway-drupal - August 21, 2008 - 06:19

Hi,

Any news about this port ?

Thank you

#9

bneel - October 9, 2008 - 20:31

+1

#10

paulnem - October 19, 2008 - 22:46

Fresh install of drupal 6.x, enabler nodefamily and nodefamily_legacy results in the following error :

Fatal error: Call to undefined function nodefamily_add_relationtype() in /home/datitho4/public_html/sites/default/modules/nodefamily_legacy/nodefamily_legacy.install on line 31

#11

Muskwa - January 7, 2009 - 21:00

are there any news on drupal 6 port?

#12

sam.e2 - January 13, 2009 - 15:55

Any progress?

In the mean time, does anyone know another way of limiting the number of nodes a user may create/edit?

Thanks, and thanks for making this module in the first place :)

#13

SocialNicheGuru - January 30, 2009 - 14:56

subscribing. this module is very useful

#14

design.er - February 10, 2009 - 20:01

Hi sam.e2,

This module should help you: http://drupal.org/project/node_limitnumber
Here is also the port to D6: http://drupal.org/node/259084
And it seems that the developer forgot to create a function that should create a table in the drupal db. :)
So, before installing the patched module, you have to create this new table in your drupal db:

CREATE TABLE IF NOT EXISTS `node_limitnumber_rules` (
  `id` tinyint(3) unsigned NOT NULL auto_increment,
  `class` enum('role','user') NOT NULL,
  `item` int(10) unsigned NOT NULL,
  `pubtype` varchar(32) NOT NULL,
  `max` tinyint(3) unsigned NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

The sql code that is delivered on the port page does not work, so you'd better use mine.

I hope that will help you.

Regards,
Stefan

#15

ianchan - February 14, 2009 - 15:59

subscribe

#16

Antinoo - February 27, 2009 - 05:14

subscribing

#17

sridharraov - May 7, 2009 - 09:29

Subscribe

 
 

Drupal is a registered trademark of Dries Buytaert.