Closed (won't fix)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
nodereference.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
18 Feb 2007 at 23:20 UTC
Updated:
9 Jul 2009 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
markusH commentedThis sounds like something I was looking for for a long time. However, I'm stuck with the code you provided (I'm not yet a real programmer). Can you please give me a hint how to use the patch?
Comment #2
rickvug commentedsubscribing
Comment #3
rickvug commentedSubscribing
Comment #4
Bevan commented@markusH: Learn how to apply patches, then apply chx's path to nodereference.module v 5.x-1.3. Here are some links to get you started:
http://drupal.org/patch/apply
http://drupal.org/node/34422
http://www.google.com/search?q=how%20to%20apply%20patch%20files&sitesear...
Comment #5
moshe weitzman commentedlooks pretty useful.
Comment #6
theruslanSubscribing.
Comment #7
jody lynnHere's a version updated to work in D6. You'd probably want to limit it to work on only certain fields (if it tries to work on a single-value nodereference field it will fail) instead of generically across the board.
Comment #8
chx commented_bjeny_backreference_insert ?
also the comment about the race conditions misses a "have".
Edit: I realize my terse code reviews style might not come across as nice to those not accustomed to it in the core queue. So: thanks porting the module, I do appreciate it.
Comment #9
jody lynnFixed my bad function name and your bad comment grammar. :)
Comment #10
nickbn commentedQuestion regarding using/installing:
This doesn't look like a patch or a complete module to me.... do I add it to nodereference.module?
Thanks!
Comment #11
markus_petrux commentedThere are no options to enable/disable this feature per field. And it lacks a few snippets to become a true module.
IMHO, the approach here is inefficient, however. It is already possible to get back references from the node reference field table to the referenced node. See the Node Relationships module for an example of this.
I would suggest to create a separate project for this. As I don't think it will happen in CCK2 for D6, and then we have Fields in core, so this may be something to work on that context, if it needs to be...
..or let it be as a contrib module for D6, which is a real option today for those that need "this way to do it", that might be a bit more useful than an issue lost in the CCK queue.