Closed (fixed)
Project:
Media Field
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2008 at 00:23 UTC
Updated:
31 Jul 2008 at 04:46 UTC
I've created a new podcast content type using the audiofield. My objective was to display a list of all the podcasts created in a table so I created a new view using the podcast content type I'd just created. It all looks fine except that the filesize is displayed as 0.0Kb in the view, but displayed properly in the node.
I aslo had to mess about with the formatting in the theme_audiofield() function in audiofield.module as a few of the fields were the wrong way around
Comments
Comment #1
a_c_m commentedCan you submit a patch or say what you needed to change to get it to work how you expected?
Comment #2
vivianspencer commentedOk, here are the changes I made to audiofield.module
Previous:
After:
Previous:
After:
The problem was that the filesize was not stored in the $item array but in the $file array.
I also found another problem in the following function:
there's a spelling mistake on the return line, should be:
Comment #3
a_c_m commentedThanks for that, looks good.
The type-o bug is now fixed, as are a selection of other bugs and there are also some new features in the latest release, you should try it out :) if you re-apply your changes and have some time, why not submit your changes as a patch? http://drupal.org/patch/create
Thanks a_c_m
Comment #4
a_c_m commentedany patches for this?
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.