How do I do Field Reference instead of Node Reference in CCK?

jeno - October 27, 2009 - 15:42

Hello,

May I know how am I going to setup a field that reference to another field in CCK?
There is an option to setup a field that reference to a Node but I can't seem to get work out how to reference a field to another field.

Please help.

Thanks & Regards,
Jeno

Not sure what your goal is

nevets - October 27, 2009 - 16:04

Not sure what your goal is but fields really only exist as part of a node.

Explaination...

jeno - October 27, 2009 - 16:25

Sorry if I wasn't clean enough. I'm not sure how am I going to word this. So here is goes...

First of all, this is for my learning purpose. I've create a Job Posting, Job Application, and Referral Content Type CCK. When user visit the Job Posting post, user will find a Job Application and Referral at the bottom, user can click on them to apply for a job or they can refer it to someone else.

My problem is that I can't have all the information in the Job Posting page to be carry over to the Job Application/Referral page depend on which link user click on it. Obviously on my Job Posting CCK I also have a few other field such as Department, Languages and Contact. Right now I only can bring Position (which is the Job Posting CCK Node) into another page but I cannot get the rest of the field which content within Job Posting CCK populated into another page.

Hope this help.

Thanks & Regards,
Jeno

_

WorldFallz - October 27, 2009 - 20:29

Probably the easiest way to do this would be with the http://drupal.org/project/prepopulate or http://drupal.org/project/nodereferrer_create modules.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

hmm..... Thanks WorldFallz ,

jeno - October 28, 2009 - 02:31

hmm.....

Thanks WorldFallz , seems that I have to do some reading and digging into the code.

found it but it is only for Drupal 5

jeno - October 28, 2009 - 02:44

I think I've found what I am looking for but its only for Drupal 5: http://drupal.org/project/fieldreference

similar

jeno - October 28, 2009 - 08:16

something similar still in development
http://drupal.org/project/nodereference_field

 
 

Drupal is a registered trademark of Dries Buytaert.