Active
Project:
Location
Version:
7.x-4.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2011 at 15:32 UTC
Updated:
10 Oct 2011 at 10:06 UTC
Hello guys, while figuring out a good way to implement your (awesome) module I couldn't find a good explanation for why (the hell) there is a need to attach locations to nodes / taxonomy / users directly via the entity options? Shouldn't all the cool stuff be doable with fields only? I really don't see the point here. Please enlighten me! :)
Comments
Comment #1
ben kuper commentedHi,
we are discussing that on the issue : #1064666: Location CCK not saving for entities other than nodes.
What was said that the D7 version was ported straight from the D6 version which didn't have this workflow and api.
I was about to create a new issue about that, so i won't do duplicates.
Although, this is more likely a 7.x-3.x issue as many of us don't have access to the 4.x branch, and now that you have an answer, we can use that thread as a start to convert the actual cck_module into a fully field compliant module !
Comment #2
Shadlington commentedSubbing
Comment #3
rooby commentedBasically it is because the 7.x-3.x version is a direct port of the 6.x-3.x version so we would have a version for drupal 7 that has the functionality of drupal 6 in the fastest time possible.
Then the 7.x-4.x version is a complete rewrite to make everything fields API.
So 7.x-3.x is a direct port of the drupal 6 version with no new features (such as a rewrite for field API).
You can read my full post on this at #1064666-92: Location CCK not saving for entities other than nodes
So this is a 7.x-4.x issue.
Comment #4
ben kuper commentedOk, no problem thanks for clearing that.
Is this already on or is it just planned ?
Comment #5
rooby commentedI'll make sure to put some more information on this around so everyone knows.
It is definitely planned for 7.x-4.x and bdragon has started on it but I'm not sure how far along it is at this stage.
Comment #6
fubhy commentedThis sounds really good. I was totaly confused when I saw that the D7 branch had direct entity attachment functionality. Its good to hear, that this is going to be removed in favor of Field API functionality. Thanks guys.
Comment #7
Jerome F commentedAccording to Joachim, Profile2's maintainer:
Comment #8
Shadlington commentedCould you please support the Entity API module too? That'd smooth integration with other modules supporting Entity API, of which there are many. The most useful of which would be the Search API module.
Comment #9
paulgemini commentedsubscribe
Comment #10
glottus commentedsubscribe
Comment #11
naught101 commentedSeems like this should be a two-step process:
1. get location_cck working with core field api (and rename to location_field)
2. write a migration upgrade hook to move location_node and location_user etc. data to location_field.
Since I don't care about step 2, I definitely won't be working on it, but I might try to have a look at 1, if I get time.