I am having trouble accessing the cck file field raw data. Nomatter what I try in the view or the custom view field template, I cannot get the filepath by itself.
In a node view I can reach my file field by simply using
$field_mp3file[0]['filepath'];
Is there something comprable for accessing a file field from a field view?
In my views field theme I can't figure out how to get the filepath. I've tried so many ways but nothing seems to work. When I do print_r on the $field or $row variable I get a lot of vaues (including field id), but I get no filepath or url. I can use the $output variable but it ads extra formating to the url which means it's not useful for my particular function.
so to recap, I need to get access to my cck file field url so that I can do custom theming and send the mp3 path to my flash app. The $output variable adds extra stuff to the data so I can't use it.
Comments
Comment #1
orgnsm commentedi have the exact same question
Comment #2
merlinofchaos commentedMy guess is that filefield queries separately and that the actual data you need is stored somewhere on the handler, but I don't know as filefield is not part of Views core.