Closed (duplicate)
Project:
FileField Sources
Version:
6.x-1.x-dev
Component:
General
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Sep 2010 at 20:59 UTC
Updated:
6 Sep 2012 at 04:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
philbar commentedPerhaps you can add Deciphered as a co-maintainer.
Comment #2
decipheredHaha, no thanks, got way too much on my own plate at the moment, but I appreciate the thought :)
Although, if Quicksketch does want this functionality in the module I would think it only fair for me to contribute time to the development of the feature if necessary.
Cheers,
Deciphered.
Comment #3
gordon commentedsubscribe
Comment #4
gordon commentedI have ported the Views Based file browser from WYSIWYG ImageField.
I think that this was in the wrong place for what it is, and is much better suited to being directly in filefield_sources. I do understand why @Deciphered did this and needed this functionality in filefield sources and didn't need WYSIWYG ImageField.
ATM it is a straight port of the version from WYSIWYG ImageField but I want is also needed to is to allow support for other file types, not just images so the image for a normal file will be a default mime type image.
Comment #5
gordon commentedDone a little more testing and the ajax is not working for exposed views. I will need to do some more playing.
Comment #6
decipheredLet me know how it goes, I will be more than happy to rip it out of WIF if it makes it in to FFS.
Comment #7
redkilian commentedsubscribe
Comment #8
carn1x commentedsubscribe
Comment #9
rmontero commentedSubscribe
Comment #10
crea commentedThis doesn't use iframes, right ?
I'm thinking about ModalFrame-based solution
Comment #11
deciphered@crea
No, it does not use iFrames.
Wysiwyg ImageField, the module that this code comes from, wraps ImageField, FielField Sources and Insert in a Modal Frame. Though there's no future development on Wysiwyg ImageField as it's being succeeded by Wysiwyg Fields instead. So if you're after an existing Modal Frame based solution, check them out.
Comment #12
crea commentedI don't use WYSIWYG so it would be strange for me to install Wysiwyg-related module just to have Views-based file sources browser. I suspect I will have to code this myself :)
Comment #13
scroogie commentedI wrote a Drupal 6 source like this using modalframe API for one of my pages, but it's not generic. It uses the node gallery types, as was probably expected from me. ;)
It's not a finished product, but I don't think it needs too much work. Some polish here and there, perhaps some additional features. I'd be willing to co-maintain if you would as well crea. Drop me a mail if so.
Comment #14
scroogie commentedI've uploaded the code to a sandbox so everyone interested can create issues, pull the code, create patches or whatever. I didn't bother making it generic right now, cause I wanted it up quickly. If you work on this, please don't hold your contributions back. I think a lot of people can profit from such a module (even if its small).
http://drupal.org/sandbox/scroogie/1260492
Comment #15
karljohann commentedAny progress being made?
Comment #16
quicksketchThis patch is similar to #1170928: fielefield_source: views as source. Both have patches so I don't want to mark either duplicate. I'm not spending a lot of time on FileField Sources, so more testing/reviewing on these issues would be appreciated.
Comment #17
quicksketchI've decided to move forward on this feature, but not in the Drupal 6 version of the module. We'll be branching for 2.x, which will include the new sources for Views-reference (#1170928: fielefield_source: views as source) and Clipboard support (#1768740: New Source: Paste from Clipboard).
Marking this issue duplicate of the other issue for adding Views support, as it's for D7.