Closed (fixed)
Project:
Node displays contributions
Version:
6.x-2.3
Component:
Other modules support
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2010 at 20:37 UTC
Updated:
30 Sep 2010 at 11:10 UTC
Comments
Comment #1
swentel commentedWe had a bet at work when this request would come in, I've lost :)
Not sure when this might happen, focusing on the port first. There is a sprint coming up in a few weeks, might find some time to do that because it shouldn't take a lot of time though, I'll keep you updated! In the meantime, you could create a field via the UI (at admin/ds/nd/fields) and return something like this:
In fact, by looking at this code, if it's that simple, I'm not sure yet if we should create a separate module for this since it would really have 2 really small functions .. :)
Comment #2
lpalgarvio commentedso that's awesome news :P
Comment #3
swentel commentedOk, there is a nice page explaining howto create flags, see http://drupal.org/node/295383.
You can use the fields screen in DS to create flag fields easily, not worth a module. Just replace $node, $user by $object and you're done :)
Comment #4
lpalgarvio commentedi understand your point of view, but part of nowadays efforts on Drupal is to minimize complexity and add usability, something that this functionality for Display Suite would provide.
i'm not sure why Node Contrib module has the support for modules and not the other way around (modules having support for Display Suite)... but i think this functionally belongs somewhere.
whatever the reason Node Contrib is accumulating all the integration for other modules, i'm in for including Flag in it.
note: Flag also works for Users. you can flag users as friends, foes, spammers, troublemakers, etc, just like you can flag content as a bookmark, as good, bad, spam, etc.
that basically means that to support it fully, it would have to be added to both Node and User DS modules.
IMO, i would instead suggest the other way around (IF it is possible) - transfer support of DS for external modules to the external modules and instead only support the core (but including CCK/Views) modules through DS.
example, Fivestar, Flag and Ubercart containing support for Display Suite (along with Panels and Views), and not Display Suite providing support for them.