I wrote some code to enable selecting a view to filter which nodes the cck fields are harvested from. Currently I use this to only harvest a filefield from a node which has a creative commons license.
I lifted a bit of the code from the cck nodereference module.
If anyone is interested I will make a clean patch against CVS.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 706720.diff | 1.93 KB | darrick |
Comments
Comment #1
arthurf commentedAwesome! Please do post a patch! In fact, if you wanted to isolate your code into a mm_views module, I'd be glad to help you with this- this would be an awesome awesome addition to media mover.
Comment #2
darrick commentedOkay. The attached patch against media_mover/contrib/mm_views/mm_views.module should be a start. It only works with file fields and I haven't tested with having multiple values in a field. I also didn't fix the views argument.
I'll do more if you think I'm headed in the right direction with this.
Comment #3
arthurf commentedLooks solid. I'll commit it to the 6.1.x and 6.2.x branches