(This is a follow-up to issue to #926548: Remove private download method dependency)
@arski (#7 in issue 926548): It's a CCK file field with an upload widget "File Upload" and a display widget "MP3 Player". In a node display, the file field is rendered as a little player widget (a [http://wpaudioplayer.com/standalone WordPress/ 1pixelout Audio Player] with "play" and "pause" buttons). This extension is provided by the module [http://drupal.org/project/mp3player MP3 Player] (6.x-1.0-beta1), and that one comes with a sub-module called "Filefield MP3 Player Formatter".
In Views2, I'm getting five formatters for this file field: Generic files, Path to file, URL to file, MP3 player (Mini), and MP3 player (Default) - nothing else. As I understand the 'File Force' module, it should provide additional formatters right after enabling?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | repertoire-downloads-views.txt | 17.72 KB | asb |
Comments
Comment #1
arski commentedthanks for creating a separate issue, looking into it.
Comment #2
arski commentedhey again, I'm having trouble reproducing this issue.. I've installed the mp3player module, but it doesn't do anything that should interfer - it uses the standard FileField and just provides the MP3 formatters, which should not get in the way..
Could you please double check and confirm which versions of CCK, FileField and File Force you're using. Also could you double check if File Force is actually enabled and also in your content type, try going to the "Display fields" page and see if you have File Force formatters for your fields in there.
Thanks!
Comment #3
arski commentedAlso, are you using the -beta version of mp3player from 2009 or the latest -dev? I doubt this matters, but just to make sure..
Comment #4
asb commentedThank you for the super-fast reply!
Checking module versions:
File Force 6.x-2.x-dev is installed and enabled (according to
./admin/build/modules).* cck 6.x-2.8 2010-Aug-12
* views 6.x-2.11 2010-Jun-17
* filefield 6.x-3.7 2010-Jul-01
* mp3player 6.x-1.0-beta1 2009-Jul-19
Possibly relevant:
* FileField Meta 6.x-3.7
* FileField Paths 6.x-1.4
* Content Permissions enabled
Libraries:
* jQuery UI 1.7.3
* jQuery Update 1.3.2
On the "Display fields" page of my content type "Repertoire" (
./admin/content/node-type/repertoire/display) two additional File Force formatters for the audio file field are available ("File Force: Generic Files", "File Force: URL to File"). Changing the subject since this seems to be a Views issue.Comment #5
asb commentedOK, cleared the Views cache, and now the two formatters show up in the view.
With "File Force: URL to File" I'm getting a path like
http://example.com/sites/default/files/audio/saudade.mp3?download=1which does not offer a download; like with the normal formatters this starts a media player (Ubuntu 10.10, Opera 10.63).With "File Force: Generic Files" I'm getting a hyperlink pointing to the same URL with the same behaviour.
Comment #6
asb commentedAttaching export of the view.
Comment #7
arski commentedHey there, I was about to suggest you clear the cache as that would be the first contestant when something is working in one place and not in another :)
As for the file path not being the right one, refer back to my last comment #926548: Remove private download method dependency.
Comment #8
asb commentedThanks, the new release from #926548 fixes the issue for me!