Closed (won't fix)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2010 at 18:18 UTC
Updated:
6 Jan 2010 at 03:45 UTC
Flag has the timestamp as the meta data besides the boolean value. I'd like to propose a a more general solution to make fields (fields API) available to Flag. so that instead of having the timestamp as the internal fields, admin can use Fields interface to create their own timestamp field, and even comments field, or etc.
Use Case example:
3 fields for each flag entry: Latitude, Longitude, and Image Field. so when a user is flagging a content, optionally they can also send out their geolocation maybe with attached image. Then the site can hookup with Location Module together with Views integration. This will be a cool engine for mobile devices.
Comments
Comment #1
skyredwangConsidering Flag 2.0 already has Services Module support...
Comment #2
quicksketchI don't quite understand this request but it sounds like a complete departure or extensive set of functionality to add. Flag is already a very expansive module (considering all its integrations), which I'm not comfortable with expanding. This might be considered in a 3.x version in Drupal 7, but it certainly won't be in Drupal 6. Considering this would require entirely new UIs to actually access and support the fields, I doubt it will be added ever.
Comment #3
skyredwangIn big picture, I hope to see "Flag" becomes more extensible object. There are two ways to go: I suggest the first above. It is that Flag will have API for customized fields, (Use Case above is for flagging time-sensitive and geolocation sensitive nodes), like Taxonomy supporting Fields in D7. Maybe we can steal some codes from Taxonomy in D7?
The second direction is that Flag implements on top of Node. So each flag becomes a node, which already supports fields. (But, this is even more unlikely happen)
Comment #4
quicksketchFor the time being, this is a won't fix. It'll stay that way unless a patch can be provided when the Drupal 7 version becomes available. Flags will certainly never be nodes.