Posted by cafuego on July 2, 2008 at 6:44am
39 followers
| Project: | FieldReference |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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.
Comments
#1
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.
#2
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.
#3
i'll try to have a look at it, but this is not something high on my list
#4
I've packed up and attached what I've done sofar. I doubt it'll be highly useful, but still... prolly won't hurt.
#5
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 :/
#6
yeah i lack time lately
i'll give it a first shot in the next days
#7
subscribe
#8
subscribe
#9
I would like to see this for 6 also. I am not sure how to code it correctly or I would do it myself.
#10
Subscribe. Would love to see this for 6.
#11
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.
#12
Well I used nodereference as a reference when implementing fieldreference. I'm not sure much code can be reused though.
#13
What's the current status?
#14
Subscribe, this would be quite usefull.
#15
Does #4 works?
#16
#17
subscribe - a working 6 ver would be woderful ...
#18
Suscribing , defo need this
#19
#20
optgroups don't appear to be supported for selects in 6.x
#306930: Support optgroups in allowed values
#21
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.
#22
subscribe
#23
subscribe. any idea if this is going to happen?
#24
+1, subscribing
#25
+1 subscribing
#26
subscribe
#27
This is a must. Subscribing.
#28
+1 Thanks
#29
subscribing
#30
subscribing....
#31
subscribing
#32
Subscribing...
#33
Another subscriber.
#34
Subscribing
#35
One more!
#36
subscribing
#37
subscribing
#38
Subscribing, but there doesn't seem to be much going on here.
#39
Subscribing. I would love to see this happen.
#40
subscribing
#41
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.
#42
subscribing
#43
sub :(
#44
sub
maybe this module will work for some of the subscribers, too:
http://drupal.org/project/nodereference_field
#45
Mmm, and how would that work to reference a field's content? Can't seem to get it.
#46
There is another solution.
Use cck node reference and then create a view. Here's how :
http://drupal.org/node/289738
#47
^ That's pretty clever, you could also do a view reference
#48
So many subscribing, anyone want to team up on actually doing this for D6?
#49
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.