Are there any plans to port this module to D6? I'm currently making a half hearted attempt to do this myself, but I'm stuck, as I don't know the API at all.

CommentFileSizeAuthor
#4 fieldreference-6.x-hax.tar_.gz10.39 KBcafuego

Comments

deekayen’s picture

I don't have any near-term plans to do it on my own, but I'll commit a patch if you do the work.

cafuego’s picture

Well, I can get it to the point where it allows a field to be chosen when creating the new content type, but I don't know anywhere near enough about module development to get it to display its input fields with values when adding new content. I'd probably need to spend 2 weeks just looking at the API.

I've worked around it for now by hacking node.tpl.php to display itself differently depending on the node type that is displayed and using nodereference. It's ugly, but it works.

guardian’s picture

i'll try to have a look at it, but this is not something high on my list

cafuego’s picture

StatusFileSize
new10.39 KB

I've packed up and attached what I've done sofar. I doubt it'll be highly useful, but still... prolly won't hurt.

danielb’s picture

Did you upgrade the existing module to be compatible with D6? Personally I would write it from scratch and sap all the awesome features from D6 nodereference - that's what I did with some of the modules I maintain.

http://drupal.org/project/blockreference
http://drupal.org/project/viewreference

also I upgraded this module from D5 to D6 by basically writing it from scratch on top of nodereference - was fairly easy
http://drupal.org/project/revisionreference

I would be willing to help but I've so many modules that are finished i could be polishing up and releasing when I'm not playing tf2 :/

guardian’s picture

yeah i lack time lately
i'll give it a first shot in the next days

libeco’s picture

subscribe

a_c_m’s picture

subscribe

break9’s picture

I would like to see this for 6 also. I am not sure how to code it correctly or I would do it myself.

ultimateboy’s picture

Subscribe. Would love to see this for 6.

pancho’s picture

I need this for an upcoming project. So I might take a look at what needs to be done.
danielb pointed us to a good direction: Not only that we should reuse nodereference's code, it might even make sense to build this on top of nodereference. Some day it could be rolled into nodereference's project.

guardian’s picture

Well I used nodereference as a reference when implementing fieldreference. I'm not sure much code can be reused though.

tyromind’s picture

What's the current status?

Ylan’s picture

Subscribe, this would be quite usefull.

Rosamunda’s picture

Does #4 works?

Rosamunda’s picture

Title: D6 port » Field Reference: D6 port
momper’s picture

subscribe - a working 6 ver would be woderful ...

Tenx-1’s picture

Suscribing , defo need this

deekayen’s picture

Assigned: Unassigned » deekayen
deekayen’s picture

optgroups don't appear to be supported for selects in 6.x

#306930: Support optgroups in allowed values

deekayen’s picture

Assigned: deekayen » Unassigned

Actually, I think what I need for my case is to reference the field_name and type_name from content_node_field_instance, not the data in a field from a node.

gunzip’s picture

subscribe

scalp’s picture

subscribe. any idea if this is going to happen?

talatnat’s picture

+1, subscribing

Leonth’s picture

+1 subscribing

Flying Drupalist’s picture

subscribe

tpainton’s picture

This is a must. Subscribing.

sbydrupal’s picture

+1 Thanks

felipe’s picture

subscribing

Parkes Design’s picture

subscribing....

bcarlson33’s picture

subscribing

paganwinter’s picture

Subscribing...

appel’s picture

Another subscriber.

ycwjjjj’s picture

Subscribing

khan2ims’s picture

One more!

translector’s picture

subscribing

carwin’s picture

subscribing

NathanM’s picture

Subscribing, but there doesn't seem to be much going on here.

ram327’s picture

Subscribing. I would love to see this happen.

willhowlett’s picture

subscribing

ggevalt’s picture

Not subscribing as much as wishing that someone would have the time and knowledge to port field_reference to D6. This would be of incredible use to us. Here's to hoping.

sumaiyajaved’s picture

subscribing

arski’s picture

sub :(

maulwuff’s picture

sub

maybe this module will work for some of the subscribers, too:
http://drupal.org/project/nodereference_field

jvdurme’s picture

Mmm, and how would that work to reference a field's content? Can't seem to get it.

nlambert’s picture

There is another solution.

Use cck node reference and then create a view. Here's how :

http://drupal.org/node/289738

danielb’s picture

^ That's pretty clever, you could also do a view reference

markwk’s picture

So many subscribing, anyone want to team up on actually doing this for D6?

danielb’s picture

FYI,

I tried to implement a solution for Drupal 6 some time ago, but wasn't able to complete it.

As this module is abandoned, and I mainly develop in Drupal 7 now, I have created a new module that I'm maintaining here http://drupal.org/project/field_reference

However, it cannot be backported to Drupal 6 as it relies on Drupal 7's entity and field api's.