Hi,
I am trying in custom template for my custom Video type to key off something to detect whether FlashField is actually used in a given video node instance (as I have other options such as Emfield for embedded video and sometimes no other video solution, just download of say a MOV), and I have tried to key off the FileField, however it seems to be empty always, even when there is definitely a FileField allocated (confirmed in Edit page).
Also, the Content Template example for my Video type confirms it is seemingly always empty, even when the FlashField clearly runs ok:
$node->field_flash_filefield (array)
Do you know why, and is there anything else I can key off to tell whether FlashField is actually being used ?
This relates to (http://drupal.org/node/351685), and in general the FlashField module should not generate ANY output if it is not being used (the fields are not populated), which would be the proper solution.
Glad for advice or ideas,
Webel
Comments
Comment #1
webel commentedHere's part of the generated Content Template example for a FlashField that is populated and works:
Other than
$node->field_flash_video[0]['view'], which is a self-fulfilling prophecy, what else could I key off ?