Closed (fixed)
Project:
Flashy
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2010 at 13:56 UTC
Updated:
8 Feb 2010 at 08:40 UTC
Hello,
i'm testing flashy module and i've found (probably) a bug.
My environment:
Drupal 6.15
CCK 2.6
FileField 3.2
Autoload 1.3
Flashy 1.0
getID3 1.3
SWF Embed 1.3
I think it's important to mention that i'm testing flashy on a page that was upgraded from Drupal 5 to 6.
Flashy is working when i paste this into the page content:
$link = '/sites/200lat.wum.edu.pl/files/VTS_01_1.flv';
$flashy = flashy_create()
->addMedia($link)
->flashVar('volume', 50)
->flashVar('maintainAspectRatio', TRUE)
->flashVar('loop', TRUE)
->flashVar('autoPlay', TRUE)
->flashVar('uiControls', 'PlayPause|Prev|Next|Seek|Volume|FullScreen|MuteUnmute')
->param('allowFullScreen', 'true')
->noFlash('Flash is not working :-(');
print $flashy->render();
However, something is broken with filefield integration. I don't see "As Flash video" on a dropdown list in "Manage fields" for both "File" and "Link" types. All required modules are enabled.
Any advice?
Best regards
Comments
Comment #1
Crell commentedHave you enabled the formatter modules? The flashy module on its own is just an API. You need to enable the formatter modules to link it up with CCK.
Comment #2
lordzik commentedYes, both "Flashy Filefield formatter" and "Flashy Link formatter" are already enabled.
How can i debug this issue?
Thank you.
Comment #3
Crell commentedHm. I have not seen this issue before. Clear the cache? :-) I'm not sure what else could be the issue.
Comment #4
lordzik commentedI've cleared the cache but that didn't help.
I don't know what i did ;) but after i've changed this line in flashy_filefield/flashy_filefield.module:
function flashy_filefield_field_formatter_info() {
to this:
function flashy_filefield_widget_info() {
then i can choose "As Flash Video" in field management!
But even if i do this, that field does not appear on page "Edit" (other fields does).
What the hell is going on? ;)
Comment #5
Crell commentedOH! OK, that's the issue.
This is a formatter. You don't configure it on "Manage Fields". You configure it on "Display Fields". "Manage Fields" shows widgets, which are what you see on the node edit form. The flashy formatters are formatters, which are what you see on the node view page. Flash does not change the look of the node edit form at all. That's a totally different thing.
Switch back to the original module code, clear the cache, and then go to the "Display Fields" tab. Dollars to donuts you'll find it there.
(That's what I get for not reading your original message more closely.)
Comment #6
lordzik commentedYeah, that's it!
Thank you for pointing me into the right direction :)